basic/source/runtime/methods.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 321284dde91854a7583c11a207da3bb94691d12d
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Thu Jun 20 16:16:25 2024 +0200
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Thu Jun 20 18:32:31 2024 +0200

    -Werror,-Wunused-function
    
    Change-Id: I11af8dfbcdda6bbb77f2ccfaf2c994492bc3f807
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169282
    Reviewed-by: Stephan Bergmann <[email protected]>
    Tested-by: Jenkins

diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index da57ccc98736..8e87d6d0d5ef 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -111,14 +111,14 @@ using namespace com::sun::star::uno;
 
 static sal_Int32 GetDayDiff(const Date& rDate) { return rDate - 
Date(1899'12'30); }
 
+#if HAVE_FEATURE_SCRIPTING
+
 static sal_Int32 nanoSecToMilliSec(sal_Int64 nNanoSeconds)
 {
     // Rounding nanoseconds to milliseconds precision to avoid comparision 
inaccuracies
     return o3tl::convert(nNanoSeconds, 1, tools::Time::nanoPerMilli);
 }
 
-#if HAVE_FEATURE_SCRIPTING
-
 static void FilterWhiteSpace( OUString& rStr )
 {
     if (rStr.isEmpty())

Reply via email to