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 /sfx2 | |
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 'sfx2')
-rw-r--r-- | sfx2/source/dialog/dialoghelper.cxx | 8 | ||||
-rw-r--r-- | sfx2/source/doc/docinf.cxx | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/dialog/dialoghelper.cxx b/sfx2/source/dialog/dialoghelper.cxx index 4c4242390c38..cbc95798dc9c 100644 --- a/sfx2/source/dialog/dialoghelper.cxx +++ b/sfx2/source/dialog/dialoghelper.cxx @@ -68,17 +68,17 @@ Size getDrawListBoxOptimalSize(const vcl::Window *pReference) return pReference->LogicToPixel(Size(88, 110), MAP_APPFONT); } -Size SFX2_DLLPUBLIC getPreviewStripSize(const vcl::Window *pReference) +Size getPreviewStripSize(const vcl::Window *pReference) { return pReference->LogicToPixel(Size(70 , 40), MapMode(MAP_APPFONT)); } -Size SFX2_DLLPUBLIC getPreviewOptionsSize(const vcl::Window *pReference) +Size getPreviewOptionsSize(const vcl::Window *pReference) { return pReference->LogicToPixel(Size(70 , 27), MapMode(MAP_APPFONT)); } -OUString SFX2_DLLPUBLIC getWidestTime(const LocaleDataWrapper& rWrapper) +OUString getWidestTime(const LocaleDataWrapper& rWrapper) { Date aDate(22, 12, 2000); tools::Time aTime(22, 59, 59); @@ -86,7 +86,7 @@ OUString SFX2_DLLPUBLIC getWidestTime(const LocaleDataWrapper& rWrapper) return formatTime(aDateTime, rWrapper); } -OUString SFX2_DLLPUBLIC formatTime(const DateTime& rDateTime, const LocaleDataWrapper& rWrapper) +OUString formatTime(const DateTime& rDateTime, const LocaleDataWrapper& rWrapper) { OUString sString = rWrapper.getDate(rDateTime); sString += OUString(' '); diff --git a/sfx2/source/doc/docinf.cxx b/sfx2/source/doc/docinf.cxx index 5e494372ed85..ec18c6dec433 100644 --- a/sfx2/source/doc/docinf.cxx +++ b/sfx2/source/doc/docinf.cxx @@ -44,7 +44,7 @@ using namespace ::com::sun::star; namespace sfx2 { -sal_uInt32 SFX2_DLLPUBLIC LoadOlePropertySet( +sal_uInt32 LoadOlePropertySet( uno::Reference< document::XDocumentProperties> i_xDocProps, SotStorage* i_pStorage ) { @@ -194,7 +194,7 @@ sal_uInt32 SFX2_DLLPUBLIC LoadOlePropertySet( return (nGlobError != ERRCODE_NONE) ? nGlobError : nDocError; } -bool SFX2_DLLPUBLIC SaveOlePropertySet( +bool SaveOlePropertySet( uno::Reference< document::XDocumentProperties> i_xDocProps, SotStorage* i_pStorage, const uno::Sequence<sal_uInt8> * i_pThumb, @@ -305,7 +305,7 @@ bool SFX2_DLLPUBLIC SaveOlePropertySet( return (nGlobError == ERRCODE_NONE) && (nDocError == ERRCODE_NONE); } -uno::Sequence<sal_uInt8> SFX2_DLLPUBLIC convertMetaFile(GDIMetaFile* i_pThumb) +uno::Sequence<sal_uInt8> convertMetaFile(GDIMetaFile* i_pThumb) { if (i_pThumb) { BitmapEx aBitmap; |