summaryrefslogtreecommitdiff
path: root/chart2/source/inc/CommonFunctors.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-10-04 10:16:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-10-04 13:45:39 +0200
commit7f0bf6220bd69cf119878ebd1352b55a042b88ed (patch)
tree30590d14fbe352ddedb20ce3c916657939a64ebd /chart2/source/inc/CommonFunctors.hxx
parentaed1870375cd2b718fcc5fe19cdc27b711747d9c (diff)
Revert "check for unnecessary DLLPUBLIC annotations"
This reverts commit a599eeab786ecbe1b5b6509e3c792e5c1ba31248, plus follow-up fa4431449d0306e8179f53a2a69c549800bd24bd "Avoid bogus loplugin:dllmacro 'unnecessary *DLLPUBLIC declaration ...'". See (abandoned) <https://gerrit.libreoffice.org/#/c/42983/> "loplugin:dllmacro: Handle implicit member functions" how this would have needed to be extended to give consistent results across Linux and macOS, but then would have started to remove DLLPUBLIC from entities that apparently need to at least have default type visibility on macOS and started to make tests fail.
Diffstat (limited to 'chart2/source/inc/CommonFunctors.hxx')
-rw-r--r--chart2/source/inc/CommonFunctors.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/inc/CommonFunctors.hxx b/chart2/source/inc/CommonFunctors.hxx
index e8cdb12d6ba1..8b11df32f3ea 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 AnyToDouble
+struct OOO_DLLPUBLIC_CHARTTOOLS AnyToDouble
{
double operator() ( const css::uno::Any & rAny )
{
@@ -64,7 +64,7 @@ struct AnyToDouble
/** unary function to convert css::uno::Any into an
OUString.
*/
-struct AnyToString
+struct OOO_DLLPUBLIC_CHARTTOOLS AnyToString
{
OUString operator() ( const css::uno::Any & rAny )
{
@@ -93,7 +93,7 @@ struct AnyToString
<p>For conversion rtl::math::StringToDouble is used.</p>
*/
-struct OUStringToDouble
+struct OOO_DLLPUBLIC_CHARTTOOLS OUStringToDouble
{
double operator() ( const OUString & rStr )
{
@@ -111,7 +111,7 @@ struct OUStringToDouble
<p>For conversion rtl::math::DoubleToOUString is used.</p>
*/
-struct DoubleToOUString
+struct OOO_DLLPUBLIC_CHARTTOOLS DoubleToOUString
{
OUString operator() ( double fNumber )
{