diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-09 15:41:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-09 15:41:13 +0100 |
commit | 2f3bc785e675b40003b06f549a00775322f0b7fd (patch) | |
tree | ef1bd147e5a2adde8cbd8a8efe6983505f4f57cc /sc/source/ui/vba/vbaworkbook.cxx | |
parent | e88309519accfbde8f19d1ce36b657707683bb61 (diff) |
New loplugin:externvar: sc
Change-Id: I6f9df997a957a1fa49161add2adafe228d036a30
Diffstat (limited to 'sc/source/ui/vba/vbaworkbook.cxx')
-rw-r--r-- | sc/source/ui/vba/vbaworkbook.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbaworkbook.cxx b/sc/source/ui/vba/vbaworkbook.cxx index d7a0e6a00ab6..a732f0f87858 100644 --- a/sc/source/ui/vba/vbaworkbook.cxx +++ b/sc/source/ui/vba/vbaworkbook.cxx @@ -34,6 +34,7 @@ #include <ooo/vba/excel/XApplication.hpp> #include "scextopt.hxx" +#include "service.hxx" #include "vbaworksheet.hxx" #include "vbaworksheets.hxx" #include "vbaworkbook.hxx" @@ -416,8 +417,8 @@ ScVbaWorkbook::getSomething(const uno::Sequence<sal_Int8 >& rId ) throw(css::uno namespace workbook { namespace sdecl = comphelper::service_decl; -sdecl::vba_service_class_<ScVbaWorkbook, sdecl::with_args<true> > serviceImpl; -extern sdecl::ServiceDecl const serviceDecl( +sdecl::vba_service_class_<ScVbaWorkbook, sdecl::with_args<true> > const serviceImpl; +sdecl::ServiceDecl const serviceDecl( serviceImpl, "ScVbaWorkbook", "ooo.vba.excel.Workbook" ); |