summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbawindow.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-09 15:41:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-09 15:41:13 +0100
commit2f3bc785e675b40003b06f549a00775322f0b7fd (patch)
treeef1bd147e5a2adde8cbd8a8efe6983505f4f57cc /sc/source/ui/vba/vbawindow.cxx
parente88309519accfbde8f19d1ce36b657707683bb61 (diff)
New loplugin:externvar: sc
Change-Id: I6f9df997a957a1fa49161add2adafe228d036a30
Diffstat (limited to 'sc/source/ui/vba/vbawindow.cxx')
-rw-r--r--sc/source/ui/vba/vbawindow.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx
index de36e6daff9e..985dfc87ab9c 100644
--- a/sc/source/ui/vba/vbawindow.cxx
+++ b/sc/source/ui/vba/vbawindow.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <vbahelper/helperdecl.hxx>
+#include "service.hxx"
#include "vbawindow.hxx"
#include "vbaworksheets.hxx"
#include "vbaworksheet.hxx"
@@ -898,8 +899,8 @@ ScVbaWindow::getServiceNames()
namespace window
{
namespace sdecl = comphelper::service_decl;
-sdecl::vba_service_class_<ScVbaWindow, sdecl::with_args<true> > serviceImpl;
-extern sdecl::ServiceDecl const serviceDecl(
+sdecl::vba_service_class_<ScVbaWindow, sdecl::with_args<true> > const serviceImpl;
+sdecl::ServiceDecl const serviceDecl(
serviceImpl,
"ScVbaWindow",
"ooo.vba.excel.Window" );