[Libreoffice-commits] core.git: sfx2/source

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 19 11:56:31 UTC 2019


 sfx2/source/appl/app.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3e4a4767a5609028b10aa5131fca83f51e751693
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Thu Dec 19 13:45:11 2019 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Thu Dec 19 13:49:39 2019 +0200

    Fix build in the !HAVE_FEATURE_SCRIPTING case
    
    Change-Id: Ia2425839dc77ecf6eed247e3a8e0557c98b27598

diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx
index 03498e22dd6c..fafddce19064 100644
--- a/sfx2/source/appl/app.cxx
+++ b/sfx2/source/appl/app.cxx
@@ -25,6 +25,7 @@
 #include <sfx2/app.hxx>
 #include <sfx2/frame.hxx>
 #include <basic/basrdll.hxx>
+#include <basic/sberrors.hxx>
 #include <tools/svlibrary.h>
 
 #include <svl/svdde.hxx>
@@ -523,6 +524,7 @@ ErrCode SfxApplication::CallBasic( const OUString& rCode, BasicManager* pMgr, Sb
     (void) pRet;
     return ERRCODE_BASIC_CANNOT_LOAD;
 #else
+    (void) ERRCODE_BASIC_CANNOT_LOAD; // So that the !HAVE_FEATURE_SCRIPTING case isn't broken again by IWYU
     return pMgr->ExecuteMacro( rCode, pArgs, pRet);
 #endif
 }


More information about the Libreoffice-commits mailing list