sc/source/ui/unoobj/servuno.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit d48eb7255dad05c3baff5194dc3151683893d56c Author: Tor Lillqvist <t...@iki.fi> AuthorDate: Wed Sep 19 13:37:47 2018 +0300 Commit: Tor Lillqvist <t...@iki.fi> CommitDate: Wed Sep 19 13:37:47 2018 +0300 Avoid unused function in the !HAVE_FEATURE_SCRIPTING case Change-Id: I5ef5c1ce2be3de7390322a4f4f7b78a484fd7396 diff --git a/sc/source/ui/unoobj/servuno.cxx b/sc/source/ui/unoobj/servuno.cxx index d64abd57fb53..969c93dd69c9 100644 --- a/sc/source/ui/unoobj/servuno.cxx +++ b/sc/source/ui/unoobj/servuno.cxx @@ -71,6 +71,8 @@ using namespace ::com::sun::star; +#if HAVE_FEATURE_SCRIPTING + static bool isInVBAMode( ScDocShell& rDocSh ) { uno::Reference<script::XLibraryContainer> xLibContainer = rDocSh.GetBasicContainer(); @@ -80,6 +82,8 @@ static bool isInVBAMode( ScDocShell& rDocSh ) return false; } +#endif + class ScVbaObjectForCodeNameProvider : public ::cppu::WeakImplHelper< container::XNameAccess > { uno::Any maWorkbook; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits