summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-30 14:09:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-30 14:12:31 +0200
commit909a76c7da77d8ecee8d797dd1ba77a5062ac303 (patch)
tree460c6d9c6fcafbb44ac66a23574bb69568df74ab /include/svtools
parentd2e0465d406b33139f3a97e1738020d6a7a6f6c3 (diff)
New loplugin:inlinevisible to flag inline functions marked DLLEXPORT
...which does not make sense. On Linux and Mac OS X, they potentially end up exported from multiple libs (weakly, though), while on Windows the potentially even end up not emitted at all, which could cause link errors. Change-Id: I092c9ba39e686c17b6e91581cdd4753f1c4d582f
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/ctrlbox.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx
index 78986bdae3ca..f8187d622b1b 100644
--- a/include/svtools/ctrlbox.hxx
+++ b/include/svtools/ctrlbox.hxx
@@ -274,12 +274,12 @@ public:
bool IsDouble( ) const { return (0 != m_nRate1) && (0 != m_nRate2); }
};
-SVT_DLLPUBLIC inline Color sameColor( Color rMain )
+inline Color sameColor( Color rMain )
{
return rMain;
}
-SVT_DLLPUBLIC inline Color sameDistColor( Color /*rMain*/, Color rDefault )
+inline Color sameDistColor( Color /*rMain*/, Color rDefault )
{
return rDefault;
}