summaryrefslogtreecommitdiff
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
parentf9f9fa1ef72c78accfbc25b33748a1046aa01843 (diff)
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" );