summaryrefslogtreecommitdiff
path: root/basic/source/sbx
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 /basic/source/sbx
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 'basic/source/sbx')
-rw-r--r--basic/source/sbx/sbxscan.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index f9a328ea26bf..4f080dd86ea0 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -370,11 +370,6 @@ static void myftoa( double nNum, char * pBuf, short nPrec, short nExpWidth,
// This routine is public because it's also used by the Put-functions
// in the class SbxImpSTRING.
-#ifdef _MSC_VER
-#pragma optimize( "", off )
-#pragma warning(disable: 4748) // "... because optimizations are disabled ..."
-#endif
-
void ImpCvtNum( double nNum, short nPrec, ::rtl::OUString& rRes, bool bCoreString )
{
char *q;
@@ -402,10 +397,6 @@ void ImpCvtNum( double nNum, short nPrec, ::rtl::OUString& rRes, bool bCoreStrin
rRes = ::rtl::OUString::createFromAscii( cBuf );
}
-#ifdef _MSC_VER
-#pragma optimize( "", on )
-#endif
-
bool ImpConvStringExt( ::rtl::OUString& rSrc, SbxDataType eTargetType )
{
bool bChanged = false;