diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-09 15:43:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-09 15:43:38 +0100 |
commit | 71d8920b4d31f60307f66e4fb51fb6cfe560e6d8 (patch) | |
tree | 1cdbacf1f5c0776f324f3553c0edee69e7368640 /extensions | |
parent | f89aec26a57aae8436a7ecf3ccc29117018cda46 (diff) |
New loplugin:externvar: extensions
Change-Id: I596eecab083092cccbe67062ade2279e6e25baab
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/bibmod.cxx | 1 | ||||
-rw-r--r-- | extensions/source/bibliography/datman.cxx | 10 | ||||
-rw-r--r-- | extensions/source/resource/resourceservices.cxx | 4 |
3 files changed, 8 insertions, 7 deletions
diff --git a/extensions/source/bibliography/bibmod.cxx b/extensions/source/bibliography/bibmod.cxx index ad627cd32fb3..60ec774d3797 100644 --- a/extensions/source/bibliography/bibmod.cxx +++ b/extensions/source/bibliography/bibmod.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/lang/XLocalizable.hpp> #include "bibmod.hxx" +#include "bibprop.hrc" #include "bibview.hxx" #include "bibresid.hxx" #include "datman.hxx" diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index b0d763bd404c..eb8bf7994053 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -607,11 +607,11 @@ void SAL_CALL BibInterceptorHelper::setMasterDispatchProvider( const css::uno::R #define STR_UID "uid" -OUString gGridName("theGrid"); -OUString gViewName("theView"); -OUString gGlobalName("theGlobals"); -OUString gBeamerSize("theBeamerSize"); -OUString gViewSize("theViewSize"); +OUString const gGridName("theGrid"); +OUString const gViewName("theView"); +OUString const gGlobalName("theGlobals"); +OUString const gBeamerSize("theBeamerSize"); +OUString const gViewSize("theViewSize"); BibDataManager::BibDataManager() :BibDataManager_Base( GetMutex() ) diff --git a/extensions/source/resource/resourceservices.cxx b/extensions/source/resource/resourceservices.cxx index fea575e0ad3c..f8af057ea467 100644 --- a/extensions/source/resource/resourceservices.cxx +++ b/extensions/source/resource/resourceservices.cxx @@ -15,8 +15,8 @@ namespace sdecl = ::comphelper::service_decl; -sdecl::class_< ::extensions::resource::ResourceIndexAccess, sdecl::with_args<true> > ResourceIndexAccessServiceImpl; -sdecl::class_< ::extensions::resource::OpenOfficeResourceLoader> OpenOfficeResourceLoaderServiceImpl; +sdecl::class_< ::extensions::resource::ResourceIndexAccess, sdecl::with_args<true> > const ResourceIndexAccessServiceImpl; +sdecl::class_< ::extensions::resource::OpenOfficeResourceLoader> const OpenOfficeResourceLoaderServiceImpl; const sdecl::ServiceDecl ResourceIndexAccessDecl( ResourceIndexAccessServiceImpl, |