summaryrefslogtreecommitdiff
path: root/svx
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 /svx
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 'svx')
-rw-r--r--svx/source/svdraw/svdopath.cxx5
-rw-r--r--svx/source/xoutdev/_xoutbmp.cxx8
2 files changed, 0 insertions, 13 deletions
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx
index 1ba197361886..96e8abef86f2 100644
--- a/svx/source/svdraw/svdopath.cxx
+++ b/svx/source/svdraw/svdopath.cxx
@@ -35,11 +35,6 @@
#include "svx/svdglob.hxx" // Stringcache
#include "svx/svdstr.hrc" // the object's name
-#ifdef _MSC_VER
-#pragma optimize ("",off)
-#pragma warning(disable: 4748) // "... because optimizations are disabled ..."
-#endif
-
#include <svx/xlnwtit.hxx>
#include <svx/xlnclit.hxx>
#include <svx/xflclit.hxx>
diff --git a/svx/source/xoutdev/_xoutbmp.cxx b/svx/source/xoutdev/_xoutbmp.cxx
index 22bad4a21b1a..a57f6facad09 100644
--- a/svx/source/xoutdev/_xoutbmp.cxx
+++ b/svx/source/xoutdev/_xoutbmp.cxx
@@ -299,10 +299,6 @@ sal_uInt16 XOutBitmap::WriteGraphic( const Graphic& rGraphic, String& rFileName,
// ------------------------------------------------------------------------
-#ifdef _MSC_VER
-#pragma optimize ( "", off )
-#endif
-
sal_uInt16 XOutBitmap::ExportGraphic( const Graphic& rGraphic, const INetURLObject& rURL,
GraphicFilter& rFilter, const sal_uInt16 nFormat,
const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >* pFilterData )
@@ -329,10 +325,6 @@ sal_uInt16 XOutBitmap::ExportGraphic( const Graphic& rGraphic, const INetURLObje
return nRet;
}
-#ifdef _MSC_VER
-#pragma optimize ( "", on )
-#endif
-
// ------------------------------------------------------------------------
Bitmap XOutBitmap::DetectEdges( const Bitmap& rBmp, const sal_uInt8 cThreshold )