diff options
-rw-r--r-- | sfx2/source/appl/app.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |