summaryrefslogtreecommitdiffstats
path: root/basic
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2021-12-10 13:19:27 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2021-12-10 14:09:13 +0100
commit77cb655a60a238100b4942b9a41a1a989031c39c (patch)
tree0d51ddd633c086ccc37d9945ef3b286c5b622f36 /basic
parentWIP: async popup menus (diff)
downloadcore-77cb655a60a238100b4942b9a41a1a989031c39c.tar.gz
core-77cb655a60a238100b4942b9a41a1a989031c39c.zip
Change-Id: I61e9916a667a92e6bd5489e5ed1d1dead2a61765
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/methods1.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx
index 8e78776bc7f8..fca27708962a 100644
--- a/basic/source/runtime/methods1.cxx
+++ b/basic/source/runtime/methods1.cxx
@@ -2973,13 +2973,6 @@ void SbRtl_CompatibilityMode(StarBASIC *, SbxArray & rPar, bool)
rPar.Get(0)->PutBool(bEnabled);
}
-bool LibreOffice6FloatingPointMode()
-{
- static bool bMode = std::getenv("LIBREOFFICE6FLOATINGPOINTMODE") != nullptr;
-
- return bMode || officecfg::Office::Scripting::Basic::Compatibility::UseLibreOffice6FloatingPointConversion::get();
-}
-
void SbRtl_Input(StarBASIC *, SbxArray & rPar, bool)
{
// 2 parameters needed
@@ -3030,7 +3023,14 @@ void SbRtl_Me(StarBASIC *, SbxArray & rPar, bool)
refVar->PutObject( pClassModuleObject );
}
-#endif
+#endif // HAVE_FEATURE_SCRIPTING
+
+bool LibreOffice6FloatingPointMode()
+{
+ static bool bMode = std::getenv("LIBREOFFICE6FLOATINGPOINTMODE") != nullptr;
+
+ return bMode || officecfg::Office::Scripting::Basic::Compatibility::UseLibreOffice6FloatingPointConversion::get();
+}
sal_Int16 implGetWeekDay( double aDate, bool bFirstDayParam, sal_Int16 nFirstDay )
{