diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-27 16:08:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-29 10:37:47 +0200 |
commit | a599eeab786ecbe1b5b6509e3c792e5c1ba31248 (patch) | |
tree | 73e530ebe30d10eb61856b7c7986ce87eb9705e3 /chart2 | |
parent | 26c82bd286e2331188db853d41f7a575d906b62c (diff) |
check for unnecessary DLLPUBLIC annotations
on classes which are fully defined in a header file
Rename the dllprivate plugin to dllmacro and add the functionality
there.
Change-Id: I4581d551c46a8f61213d95973f323359d08278d8
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/inc/CommonFunctors.hxx | 8 | ||||
-rw-r--r-- | chart2/source/inc/PropertyHelper.hxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/inc/CommonFunctors.hxx b/chart2/source/inc/CommonFunctors.hxx index 8b11df32f3ea..e8cdb12d6ba1 100644 --- a/chart2/source/inc/CommonFunctors.hxx +++ b/chart2/source/inc/CommonFunctors.hxx @@ -50,7 +50,7 @@ template< typename T > <p>In case no number can be generated from the Any, NaN (see rtl::math::SetNAN()) is returned.</p> */ -struct OOO_DLLPUBLIC_CHARTTOOLS AnyToDouble +struct AnyToDouble { double operator() ( const css::uno::Any & rAny ) { @@ -64,7 +64,7 @@ struct OOO_DLLPUBLIC_CHARTTOOLS AnyToDouble /** unary function to convert css::uno::Any into an OUString. */ -struct OOO_DLLPUBLIC_CHARTTOOLS AnyToString +struct AnyToString { OUString operator() ( const css::uno::Any & rAny ) { @@ -93,7 +93,7 @@ struct OOO_DLLPUBLIC_CHARTTOOLS AnyToString <p>For conversion rtl::math::StringToDouble is used.</p> */ -struct OOO_DLLPUBLIC_CHARTTOOLS OUStringToDouble +struct OUStringToDouble { double operator() ( const OUString & rStr ) { @@ -111,7 +111,7 @@ struct OOO_DLLPUBLIC_CHARTTOOLS OUStringToDouble <p>For conversion rtl::math::DoubleToOUString is used.</p> */ -struct OOO_DLLPUBLIC_CHARTTOOLS DoubleToOUString +struct DoubleToOUString { OUString operator() ( double fNumber ) { diff --git a/chart2/source/inc/PropertyHelper.hxx b/chart2/source/inc/PropertyHelper.hxx index 52a38edfed6c..4051d00f9e78 100644 --- a/chart2/source/inc/PropertyHelper.hxx +++ b/chart2/source/inc/PropertyHelper.hxx @@ -138,7 +138,7 @@ OOO_DLLPUBLIC_CHARTTOOLS void setEmptyPropertyValueDefault( tPropertyValueMap & } // namespace PropertyHelper -struct OOO_DLLPUBLIC_CHARTTOOLS PropertyNameLess +struct PropertyNameLess { bool operator() ( const css::beans::Property & first, const css::beans::Property & second ) |