summaryrefslogtreecommitdiff
path: root/vcl/source/helper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-05 13:05:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-05 13:10:48 +0100
commit9720e8e5ef49ee56e3612123a52b4a464d5e96ad (patch)
tree4b725a63422f12f4d78abb240a15bd24689e1dc9 /vcl/source/helper
parent32fb1cd5041383908041811c58fdf8d06e75cc49 (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 'vcl/source/helper')
-rw-r--r--vcl/source/helper/canvastools.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/helper/canvastools.cxx b/vcl/source/helper/canvastools.cxx
index 54a9ae1f2e36..901527b36a34 100644
--- a/vcl/source/helper/canvastools.cxx
+++ b/vcl/source/helper/canvastools.cxx
@@ -181,7 +181,7 @@ namespace vcl
}
}
- ::BitmapEx VCL_DLLPUBLIC bitmapExFromXBitmap( const uno::Reference< rendering::XIntegerReadOnlyBitmap >& xInputBitmap )
+ ::BitmapEx bitmapExFromXBitmap( const uno::Reference< rendering::XIntegerReadOnlyBitmap >& xInputBitmap )
{
SAL_INFO( "vcl.helper", "::vcl::unotools::bitmapExFromXBitmap()" );
@@ -563,7 +563,7 @@ namespace vcl
};
}
- uno::Reference<rendering::XColorSpace> VCL_DLLPUBLIC createStandardColorSpace()
+ uno::Reference<rendering::XColorSpace> createStandardColorSpace()
{
return new StandardColorSpace();
}
@@ -599,7 +599,7 @@ namespace vcl
return aColor;
}
- uno::Sequence< double > VCL_DLLPUBLIC colorToDoubleSequence(
+ uno::Sequence< double > colorToDoubleSequence(
const Color& rColor,
const uno::Reference< rendering::XColorSpace >& xColorSpace )
{
@@ -613,7 +613,7 @@ namespace vcl
return xColorSpace->convertFromARGB(aSeq);
}
- Color VCL_DLLPUBLIC doubleSequenceToColor(
+ Color doubleSequenceToColor(
const uno::Sequence< double >& rColor,
const uno::Reference< rendering::XColorSpace >& xColorSpace )
{