summaryrefslogtreecommitdiffstats
path: root/editeng
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-01-01 22:39:15 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-01-01 22:39:15 +0100
commit59074c09b838ebaf63f5d3e7578bb473080ec0ee (patch)
treed3c0ce525b44338b1512809adf78f87c88a3b92d /editeng
parentRTL_CONSTASCII_(U)STRINGPARAM removed in desktop (diff)
downloadcore-59074c09b838ebaf63f5d3e7578bb473080ec0ee.tar.gz
core-59074c09b838ebaf63f5d3e7578bb473080ec0ee.zip
remove use of #pragma optimize
All these are years old, guessing from some comments as old as Windows 9x support. These workarounds do not seem to be needed now. Change-Id: If67baa5cdefcec33b28696c764b1ed96143b7ccd
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/frmitems.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index 8360c7a82cf3..3377cb9359ce 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -3309,10 +3309,6 @@ void SvxLineItem::SetLine( const SvxBorderLine* pNew )
pLine = pNew ? new SvxBorderLine( *pNew ) : 0;
}
-#ifdef _MSC_VER
-#pragma optimize ( "", off )
-#endif
-
// class SvxBrushItem ----------------------------------------------------
#define LOAD_GRAPHIC ((sal_uInt16)0x0001)
@@ -4139,10 +4135,6 @@ SvxBrushItem::SvxBrushItem( const CntWallpaperItem& rItem, sal_uInt16 _nWhich )
}
}
-#ifdef _MSC_VER
-#pragma optimize ( "", on )
-#endif
-
void SvxBrushItem::ApplyGraphicTransparency_Impl()
{
DBG_ASSERT(pImpl->pGraphicObject, "no GraphicObject available" );