diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-01-01 22:39:15 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-01 22:39:15 +0100 |
commit | 59074c09b838ebaf63f5d3e7578bb473080ec0ee (patch) | |
tree | d3c0ce525b44338b1512809adf78f87c88a3b92d /sd/source/ui/view | |
parent | RTL_CONSTASCII_(U)STRINGPARAM removed in desktop (diff) | |
download | core-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 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/drviews4.cxx | 11 | ||||
-rw-r--r-- | sd/source/ui/view/drviewse.cxx | 8 | ||||
-rw-r--r-- | sd/source/ui/view/sdview4.cxx | 9 | ||||
-rw-r--r-- | sd/source/ui/view/viewshe2.cxx | 8 |
4 files changed, 0 insertions, 36 deletions
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx index cdfb31c1eb02..fe92bc05cc68 100644 --- a/sd/source/ui/view/drviews4.cxx +++ b/sd/source/ui/view/drviews4.cxx @@ -68,10 +68,6 @@ namespace sd { #define PIPETTE_RANGE 0 -#ifdef _MSC_VER -#pragma optimize ( "", off ) -#endif - using namespace ::com::sun::star::uno; using namespace ::com::sun::star::drawing; @@ -963,13 +959,6 @@ void DrawViewShell::ShowSnapLineContextMenu ( } } - - - -#ifdef _MSC_VER -#pragma optimize ( "", on ) -#endif - } // end of namespace sd /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx index 5d4cad65197c..e17192ce3da8 100644 --- a/sd/source/ui/view/drviewse.cxx +++ b/sd/source/ui/view/drviewse.cxx @@ -101,10 +101,6 @@ using namespace ::com::sun::star::presentation; namespace sd { -#ifdef _MSC_VER -#pragma optimize ( "", off ) -#endif - /************************************************************************* |* |* Permanente Funktionen @@ -1685,10 +1681,6 @@ void DrawViewShell::StopSlideShow (bool /*bCloseFrame*/) } } -#ifdef _MSC_VER -#pragma optimize ( "", on ) -#endif - } // end of namespace sd /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/view/sdview4.cxx b/sd/source/ui/view/sdview4.cxx index 7778cd7515a8..2dad995e304e 100644 --- a/sd/source/ui/view/sdview4.cxx +++ b/sd/source/ui/view/sdview4.cxx @@ -64,10 +64,6 @@ using namespace com::sun::star; namespace sd { -#ifdef _MSC_VER -#pragma optimize ( "", off ) -#endif - /************************************************************************* |* |* Graphik einfuegen @@ -567,11 +563,6 @@ IMPL_LINK_NOARG(View, DropErrorHdl) return 0; } -#ifdef _MSC_VER -#pragma optimize ( "", on ) -#endif - - /************************************************************************* |* |* StyleSheet aus der Sleketion besorgen diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx index 668d748fb9c7..e4b65e04a906 100644 --- a/sd/source/ui/view/viewshe2.cxx +++ b/sd/source/ui/view/viewshe2.cxx @@ -70,10 +70,6 @@ #include <svtools/soerr.hxx> #include <toolkit/helper/vclunohelper.hxx> -#ifdef _MSC_VER -#pragma optimize ( "", off ) -#endif - using namespace com::sun::star; #ifndef DISABLE_DYNLOADING // otherwise use the one in sw... @@ -1092,10 +1088,6 @@ sal_Int8 ViewShell::ExecuteDrop ( return( pView ? pView->ExecuteDrop( rEvt, rTargetHelper, pTargetWindow, nPage, nLayer ) : DND_ACTION_NONE ); } -#ifdef _MSC_VER -#pragma optimize ( "", on ) -#endif - void ViewShell::WriteUserDataSequence ( ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >& rSequence, sal_Bool bBrowse) { |