diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-12-19 13:45:11 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-12-19 13:49:39 +0200 |
commit | 3e4a4767a5609028b10aa5131fca83f51e751693 (patch) | |
tree | c459a412a4fe44a1947a6c150d2a006fbb6e5cdb /sfx2 | |
parent | b03c503c08a2c1b795ce11696a4cd1b8aa1cdcf4 (diff) |
Fix build in the !HAVE_FEATURE_SCRIPTING case
Change-Id: Ia2425839dc77ecf6eed247e3a8e0557c98b27598
Diffstat (limited to 'sfx2')
-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 } |