summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/column.cxx14
-rw-r--r--sc/source/core/data/documen5.cxx5
-rw-r--r--sc/source/core/data/pivot2.cxx5
-rw-r--r--sc/source/core/data/table4.cxx5
-rw-r--r--sc/source/core/tool/chartarr.cxx8
-rw-r--r--sc/source/filter/lotus/tool.cxx4
-rw-r--r--sc/source/ui/docshell/tablink.cxx6
-rw-r--r--sc/source/ui/drawfunc/fuins1.cxx4
-rw-r--r--sc/source/ui/drawfunc/fusel.cxx9
-rw-r--r--sc/source/ui/view/cellsh4.cxx4
-rw-r--r--sc/source/ui/view/dbfunc2.cxx8
-rw-r--r--sc/source/ui/view/dbfunc4.cxx4
-rw-r--r--sc/source/ui/view/drawvie4.cxx15
-rw-r--r--sc/source/ui/view/drawview.cxx9
-rw-r--r--sc/source/ui/view/tabview3.cxx8
-rw-r--r--sc/source/ui/view/tabvwsh2.cxx4
-rw-r--r--sc/source/ui/view/tabvwshb.cxx4
-rw-r--r--sc/source/ui/view/tabvwshd.cxx4
18 files changed, 0 insertions, 120 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index d40e359c5a67..aefe0437e923 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -37,10 +37,6 @@
#include "detfunc.hxx" // for Notes in Sort/Swap
#include "postit.hxx"
-//#pragma optimize ( "", off )
-// nur Search ohne Optimierung!
-
-// STATIC DATA -----------------------------------------------------------
using ::editeng::SvxBorderLine;
using namespace formula;
@@ -668,11 +664,6 @@ void ScColumn::ApplyAttr( SCROW nRow, const SfxPoolItem& rAttr )
// alte Version mit SfxItemPoolCache:
}
-#ifdef _MSC_VER
-#pragma optimize ( "", off )
-#endif
-
-
bool ScColumn::Search( SCROW nRow, SCSIZE& nIndex ) const
{
if ( maItems.empty() )
@@ -761,11 +752,6 @@ bool ScColumn::Search( SCROW nRow, SCSIZE& nIndex ) const
return bFound;
}
-#ifdef _MSC_VER
-#pragma optimize ( "", on )
-#endif
-
-
ScBaseCell* ScColumn::GetCell( SCROW nRow ) const
{
SCSIZE nIndex;
diff --git a/sc/source/core/data/documen5.cxx b/sc/source/core/data/documen5.cxx
index 678a22df813a..c4ca715a509e 100644
--- a/sc/source/core/data/documen5.cxx
+++ b/sc/source/core/data/documen5.cxx
@@ -26,11 +26,6 @@
#include <com/sun/star/embed/EmbedStates.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
-
-#ifdef _MSC_VER
-#pragma optimize("",off)
-#endif
-
#include <sfx2/objsh.hxx>
#include <svx/svditer.hxx>
#include <svx/svdoole2.hxx>
diff --git a/sc/source/core/data/pivot2.cxx b/sc/source/core/data/pivot2.cxx
index a5e23d0de0f1..eedf727065d1 100644
--- a/sc/source/core/data/pivot2.cxx
+++ b/sc/source/core/data/pivot2.cxx
@@ -17,11 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
-#ifdef _MSC_VER
-#pragma optimize("",off)
-#endif
-
#include "scitems.hxx"
#include <editeng/boxitem.hxx>
#include <editeng/wghtitem.hxx>
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index f5655f3e9784..00aa1c3d3cac 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -17,11 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifdef _MSC_VER
-#pragma optimize("",off)
- // sonst Absturz Win beim Fuellen
-#endif
-
#include "scitems.hxx"
#include <comphelper/string.hxx>
#include <svx/algitem.hxx>
diff --git a/sc/source/core/tool/chartarr.cxx b/sc/source/core/tool/chartarr.cxx
index fff0fc3fefc7..677319b2f7aa 100644
--- a/sc/source/core/tool/chartarr.cxx
+++ b/sc/source/core/tool/chartarr.cxx
@@ -96,10 +96,6 @@ bool ScChartArray::operator==(const ScChartArray& rCmp) const
&& aName == rCmp.aName;
}
-#ifdef _MSC_VER
-#pragma optimize("",off)
-#endif
-
ScMemChart* ScChartArray::CreateMemChart()
{
ScRangeListRef aRangeListRef(GetRangeList());
@@ -485,10 +481,6 @@ ScMemChart* ScChartArray::CreateMemChartMulti()
return pMemChart;
}
-#ifdef _MSC_VER
-#pragma optimize("",on)
-#endif
-
ScChartCollection::ScChartCollection() {}
ScChartCollection::ScChartCollection(const ScChartCollection& r) :
maData(r.maData) {}
diff --git a/sc/source/filter/lotus/tool.cxx b/sc/source/filter/lotus/tool.cxx
index 8b81a582874e..4fa8eb1a1f8e 100644
--- a/sc/source/filter/lotus/tool.cxx
+++ b/sc/source/filter/lotus/tool.cxx
@@ -36,10 +36,6 @@
#include <math.h>
-#ifdef _MSC_VER
-#pragma optimize("",off)
-#endif
-
//--------------------------------------------------------- EXTERNE VARIABLEN -
extern WKTYP eTyp; // -> filter.cxx, aktueller Dateityp
extern ScDocument* pDoc; // -> filter.cxx, Aufhaenger zum Dokumentzugriff
diff --git a/sc/source/ui/docshell/tablink.cxx b/sc/source/ui/docshell/tablink.cxx
index b7d3a5412dbd..f42810fc9a7b 100644
--- a/sc/source/ui/docshell/tablink.cxx
+++ b/sc/source/ui/docshell/tablink.cxx
@@ -17,12 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifdef _MSC_VER
-#pragma optimize("",off)
-#endif
-
-//------------------------------------------------------------------
-
#include <sfx2/sfxsids.hrc>
#include <sfx2/app.hxx>
#include <svl/itemset.hxx>
diff --git a/sc/source/ui/drawfunc/fuins1.cxx b/sc/source/ui/drawfunc/fuins1.cxx
index 4915e690d5ee..a5d619965cae 100644
--- a/sc/source/ui/drawfunc/fuins1.cxx
+++ b/sc/source/ui/drawfunc/fuins1.cxx
@@ -202,10 +202,6 @@ static void lcl_InsertMedia( const ::rtl::OUString& rMediaURL, bool bApi,
|*
\************************************************************************/
-#ifdef _MSC_VER
-#pragma optimize("",off)
-#endif
-
FuInsertGraphic::FuInsertGraphic( ScTabViewShell* pViewSh,
Window* pWin,
ScDrawView* pViewP,
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx
index c69d61d28412..4968f15e47c0 100644
--- a/sc/source/ui/drawfunc/fusel.cxx
+++ b/sc/source/ui/drawfunc/fusel.cxx
@@ -56,10 +56,6 @@
// -----------------------------------------------------------------------
-#ifdef _MSC_VER
-#pragma optimize ( "", off )
-#endif
-
using namespace com::sun::star;
/*************************************************************************
@@ -636,9 +632,4 @@ void FuSelection::Deactivate()
FuDraw::Deactivate();
}
-
-#ifdef _MSC_VER
-#pragma optimize ( "", on )
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/view/cellsh4.cxx b/sc/source/ui/view/cellsh4.cxx
index 59d8724e6397..945909c349ad 100644
--- a/sc/source/ui/view/cellsh4.cxx
+++ b/sc/source/ui/view/cellsh4.cxx
@@ -17,10 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifdef _MSC_VER
-#pragma optimize ("", off)
-#endif
-
#include <sfx2/request.hxx>
#include "cellsh.hxx"
diff --git a/sc/source/ui/view/dbfunc2.cxx b/sc/source/ui/view/dbfunc2.cxx
index 5a8952c47498..20cfc64b3db0 100644
--- a/sc/source/ui/view/dbfunc2.cxx
+++ b/sc/source/ui/view/dbfunc2.cxx
@@ -24,14 +24,6 @@
#include "sc.hrc"
#include "globstr.hrc"
-
-// STATIC DATA -----------------------------------------------------------
-
-
-#ifdef _MSC_VER
-#pragma optimize ( "", off )
-#endif
-
//==================================================================
void ScDBFunc::UpdateCharts( sal_Bool bAllCharts )
diff --git a/sc/source/ui/view/dbfunc4.cxx b/sc/source/ui/view/dbfunc4.cxx
index f3946126173d..447d487f2993 100644
--- a/sc/source/ui/view/dbfunc4.cxx
+++ b/sc/source/ui/view/dbfunc4.cxx
@@ -27,10 +27,6 @@
// -----------------------------------------------------------------------
-#ifdef _MSC_VER
-#pragma optimize ( "", off )
-#endif
-
using namespace com::sun::star;
//==================================================================
diff --git a/sc/source/ui/view/drawvie4.cxx b/sc/source/ui/view/drawvie4.cxx
index 52837817cbe9..234fbbc36b93 100644
--- a/sc/source/ui/view/drawvie4.cxx
+++ b/sc/source/ui/view/drawvie4.cxx
@@ -50,14 +50,6 @@ Point aDragStartDiff;
// -----------------------------------------------------------------------
-//! welche Funktionen aus drawview/drawvie4 muessen wirklich ohne Optimierung sein?
-
-#ifdef _MSC_VER
-#pragma optimize ( "", off )
-#endif
-
-// -----------------------------------------------------------------------
-
void ScDrawView::CheckOle( const SdrMarkList& rMarkList, sal_Bool& rAnyOle, sal_Bool& rOneOle )
{
rAnyOle = rOneOle = false;
@@ -333,11 +325,4 @@ void ScDrawView::SetMarkedOriginalSize()
}
-#ifdef _MSC_VER
-#pragma optimize ( "", on )
-#endif
-
-
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index 2c13e3413eae..48a550418905 100644
--- a/sc/source/ui/view/drawview.cxx
+++ b/sc/source/ui/view/drawview.cxx
@@ -62,11 +62,6 @@ using namespace com::sun::star;
// -----------------------------------------------------------------------
-#ifdef _MSC_VER
-#pragma optimize ( "", off )
-#endif
-
-
void ScDrawView::Construct()
{
EnableExtendedKeyInputDispatcher(false);
@@ -571,10 +566,6 @@ void ScDrawView::UpdateUserViewOptions()
}
}
-#ifdef _MSC_VER
-#pragma optimize ( "", on )
-#endif
-
sal_Bool ScDrawView::SelectObject( const String& rName )
{
UnmarkAll();
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index 8fcf73e7ae7a..053d3a886925 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -254,10 +254,6 @@ void ScTabView::InvalidateAttribs()
// oder Referenz verschicken
// ohne Optimierung wegen BugId 29307
-#ifdef _MSC_VER
-#pragma optimize ( "", off )
-#endif
-
void ScTabView::SetCursor( SCCOL nPosX, SCROW nPosY, bool bNew )
{
SCCOL nOldX = aViewData.GetCurX();
@@ -285,10 +281,6 @@ void ScTabView::SetCursor( SCCOL nPosX, SCROW nPosY, bool bNew )
}
}
-#ifdef _MSC_VER
-#pragma optimize ( "", on )
-#endif
-
void ScTabView::CheckSelectionTransfer()
{
if ( aViewData.IsActive() ) // only for active view
diff --git a/sc/source/ui/view/tabvwsh2.cxx b/sc/source/ui/view/tabvwsh2.cxx
index 2ed2c2133201..8d137a8731cf 100644
--- a/sc/source/ui/view/tabvwsh2.cxx
+++ b/sc/source/ui/view/tabvwsh2.cxx
@@ -17,10 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifdef _MSC_VER
-#pragma optimize ("", off)
-#endif
-
#include <sfx2/bindings.hxx>
#include <sfx2/viewfrm.hxx>
#include <svl/aeitem.hxx>
diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx
index 89b3aef44d9e..2765f71ca67f 100644
--- a/sc/source/ui/view/tabvwshb.cxx
+++ b/sc/source/ui/view/tabvwshb.cxx
@@ -20,10 +20,6 @@
#include <com/sun/star/embed/NoVisualAreaSizeException.hpp>
#include <com/sun/star/chart2/data/XDataReceiver.hpp>
-#ifdef _MSC_VER
-#pragma optimize ("", off)
-#endif
-
#include <com/sun/star/embed/EmbedMisc.hpp>
#include <com/sun/star/embed/EmbedStates.hpp>
#include <sfx2/app.hxx>
diff --git a/sc/source/ui/view/tabvwshd.cxx b/sc/source/ui/view/tabvwshd.cxx
index 2399b08e9ad0..77dcfcc463e5 100644
--- a/sc/source/ui/view/tabvwshd.cxx
+++ b/sc/source/ui/view/tabvwshd.cxx
@@ -17,10 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifdef _MSC_VER
-#pragma optimize ("", off)
-#endif
-
#include <sfx2/childwin.hxx>
#include <sfx2/request.hxx>
#include <sfx2/viewfrm.hxx>