diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-30 14:09:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-30 14:12:31 +0200 |
commit | 909a76c7da77d8ecee8d797dd1ba77a5062ac303 (patch) | |
tree | 460c6d9c6fcafbb44ac66a23574bb69568df74ab /include/basegfx | |
parent | d2e0465d406b33139f3a97e1738020d6a7a6f6c3 (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/basegfx')
-rw-r--r-- | include/basegfx/tuple/b2ituple.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/basegfx/tuple/b2ituple.hxx b/include/basegfx/tuple/b2ituple.hxx index 8713ac0367a0..d75e41cc504a 100644 --- a/include/basegfx/tuple/b2ituple.hxx +++ b/include/basegfx/tuple/b2ituple.hxx @@ -198,56 +198,56 @@ namespace basegfx - BASEGFX_DLLPUBLIC inline B2ITuple operator+(const B2ITuple& rTupA, const B2ITuple& rTupB) + inline B2ITuple operator+(const B2ITuple& rTupA, const B2ITuple& rTupB) { B2ITuple aSum(rTupA); aSum += rTupB; return aSum; } - BASEGFX_DLLPUBLIC inline B2ITuple operator-(const B2ITuple& rTupA, const B2ITuple& rTupB) + inline B2ITuple operator-(const B2ITuple& rTupA, const B2ITuple& rTupB) { B2ITuple aSub(rTupA); aSub -= rTupB; return aSub; } - BASEGFX_DLLPUBLIC inline B2ITuple operator/(const B2ITuple& rTupA, const B2ITuple& rTupB) + inline B2ITuple operator/(const B2ITuple& rTupA, const B2ITuple& rTupB) { B2ITuple aDiv(rTupA); aDiv /= rTupB; return aDiv; } - BASEGFX_DLLPUBLIC inline B2ITuple operator*(const B2ITuple& rTupA, const B2ITuple& rTupB) + inline B2ITuple operator*(const B2ITuple& rTupA, const B2ITuple& rTupB) { B2ITuple aMul(rTupA); aMul *= rTupB; return aMul; } - BASEGFX_DLLPUBLIC inline B2ITuple operator*(const B2ITuple& rTup, sal_Int32 t) + inline B2ITuple operator*(const B2ITuple& rTup, sal_Int32 t) { B2ITuple aNew(rTup); aNew *= t; return aNew; } - BASEGFX_DLLPUBLIC inline B2ITuple operator*(sal_Int32 t, const B2ITuple& rTup) + inline B2ITuple operator*(sal_Int32 t, const B2ITuple& rTup) { B2ITuple aNew(rTup); aNew *= t; return aNew; } - BASEGFX_DLLPUBLIC inline B2ITuple operator/(const B2ITuple& rTup, sal_Int32 t) + inline B2ITuple operator/(const B2ITuple& rTup, sal_Int32 t) { B2ITuple aNew(rTup); aNew /= t; return aNew; } - BASEGFX_DLLPUBLIC inline B2ITuple operator/(sal_Int32 t, const B2ITuple& rTup) + inline B2ITuple operator/(sal_Int32 t, const B2ITuple& rTup) { B2ITuple aNew(t, t); B2ITuple aTmp(rTup); |