diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-05 13:05:50 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-05 13:10:48 +0100 |
commit | 9720e8e5ef49ee56e3612123a52b4a464d5e96ad (patch) | |
tree | 4b725a63422f12f4d78abb240a15bd24689e1dc9 /sc/source | |
parent | 32fb1cd5041383908041811c58fdf8d06e75cc49 (diff) |
Some loplugin:revisibility clean-up
Stumbled across such redundant visibility re-specifications when looking at the
odd case of cppu_unsatisfied_iquery_msg declared CPPU_DLLPUBLIC in
cppu/source/cppu/cppu_opt.cxx and used in inline code in
include/com/sun/star/uno/Reference.hxx with only a declaration lacking
CPPU_DLLPUBLIC visible, and wondering how that actually works on Windows.
However, this plugin is probably not worth it being run all the time, so
committing it to compilerplugins/clang/store/.
Change-Id: Ibc3c4e7499213de1b419ce7eb85455cb832e1510
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/ftools/ftools.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fuins1.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/ftools/ftools.cxx b/sc/source/filter/ftools/ftools.cxx index c1bddcb81070..23adece956e1 100644 --- a/sc/source/filter/ftools/ftools.cxx +++ b/sc/source/filter/ftools/ftools.cxx @@ -363,7 +363,7 @@ ScOrcusFilters* ScFormatFilterPluginImpl::GetOrcusFilters() #endif } -SAL_DLLPUBLIC_EXPORT ScFormatFilterPlugin * SAL_CALL ScFilterCreate(void) +ScFormatFilterPlugin * SAL_CALL ScFilterCreate(void) { return new ScFormatFilterPluginImpl(); } diff --git a/sc/source/ui/drawfunc/fuins1.cxx b/sc/source/ui/drawfunc/fuins1.cxx index e135b29fb5e8..d53741d617e9 100644 --- a/sc/source/ui/drawfunc/fuins1.cxx +++ b/sc/source/ui/drawfunc/fuins1.cxx @@ -43,7 +43,7 @@ using namespace ::com::sun::star; -void SC_DLLPUBLIC ScLimitSizeOnDrawPage( Size& rSize, Point& rPos, const Size& rPage ) +void ScLimitSizeOnDrawPage( Size& rSize, Point& rPos, const Size& rPage ) { if ( !rPage.Width() || !rPage.Height() ) return; |