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 /svx | |
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 'svx')
-rw-r--r-- | svx/source/engine3d/helperhittest3d.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/tabledesign.cxx | 2 | ||||
-rw-r--r-- | svx/source/xoutdev/xattrbmp.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/engine3d/helperhittest3d.cxx b/svx/source/engine3d/helperhittest3d.cxx index d38445dfb8d8..809717255bb7 100644 --- a/svx/source/engine3d/helperhittest3d.cxx +++ b/svx/source/engine3d/helperhittest3d.cxx @@ -159,7 +159,7 @@ E3dScene* fillViewInformation3DForCompoundObject(drawinglayer::geometry::ViewInf -SVX_DLLPUBLIC void getAllHit3DObjectsSortedFrontToBack( +void getAllHit3DObjectsSortedFrontToBack( const basegfx::B2DPoint& rPoint, const E3dScene& rScene, ::std::vector< const E3dCompoundObject* >& o_rResult) diff --git a/svx/source/table/tabledesign.cxx b/svx/source/table/tabledesign.cxx index e8a23022ed23..66c05447861e 100644 --- a/svx/source/table/tabledesign.cxx +++ b/svx/source/table/tabledesign.cxx @@ -769,7 +769,7 @@ void TableDesignFamily::removeVetoableChangeListener( const OUString& , const Re -SVX_DLLPUBLIC Reference< XNameAccess > CreateTableDesignFamily() +Reference< XNameAccess > CreateTableDesignFamily() { return new TableDesignFamily(); } diff --git a/svx/source/xoutdev/xattrbmp.cxx b/svx/source/xoutdev/xattrbmp.cxx index 101f8d7150b5..23baafe96647 100644 --- a/svx/source/xoutdev/xattrbmp.cxx +++ b/svx/source/xoutdev/xattrbmp.cxx @@ -244,7 +244,7 @@ Bitmap createHistorical8x8FromArray(const sal_uInt16* pArray, Color aColorPix, C return aBitmap; } -bool SVX_DLLPUBLIC isHistorical8x8(const BitmapEx& rBitmapEx, BitmapColor& o_rBack, BitmapColor& o_rFront) +bool isHistorical8x8(const BitmapEx& rBitmapEx, BitmapColor& o_rBack, BitmapColor& o_rFront) { if(!rBitmapEx.IsTransparent()) { |