diff options
author | Douglas Mencken <dougmencken@gmail.com> | 2015-10-12 10:47:35 -0400 |
---|---|---|
committer | Douglas Mencken <dougmencken@gmail.com> | 2017-01-12 06:35:54 -0500 |
commit | 3b0f291507fc204ee0d822653272b02e5dd19023 (patch) | |
tree | eb9d8e5afa6376ddb1bf7a3f0c0650a50e6feeb2 | |
parent | 9eb3dded82ff692af06c4daa57a0465bc8e637fb (diff) |
make SvxFmDrawPage::acquire a public symbol in libsvxcorelo
-fvisibility-inlines-hidden implicitly marks all inline functions as hidden
and sometimes { like `t __ZThn24_N13SvxFmDrawPage7acquireEv'
Undefined symbols: "non-virtual thunk to SvxFmDrawPage::acquire()" }
this needs to be changed
manually expand DECLARE_UNO3_AGG_DEFAULTS macro from comphelper/uno3.hxx
Change-Id: I6ceadd697f4840196596b3e7c318cf9a89b485ac
-rw-r--r-- | include/svx/fmdpage.hxx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/svx/fmdpage.hxx b/include/svx/fmdpage.hxx index be32ea540bdd..b4a8a716a79a 100644 --- a/include/svx/fmdpage.hxx +++ b/include/svx/fmdpage.hxx @@ -47,7 +47,17 @@ public: virtual ~SvxFmDrawPage() throw () override; // UNO connection - DECLARE_UNO3_AGG_DEFAULTS(SvxFmDrawPage, SvxDrawPage) + virtual void SAL_CALL SAL_DLLPUBLIC_EXPORT acquire( ) /* SAL_DLLPUBLIC_EXPORT to be a public symbol explicitly */ + throw( ) override + { SvxDrawPage::acquire( ); } + + virtual void SAL_CALL release( ) + throw( ) override + { SvxDrawPage::release( ); } + + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rrType ) + throw ( css::uno::RuntimeException, std::exception ) override + { return SvxDrawPage::queryInterface( rrType ); } virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type& aType ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(css::uno::RuntimeException, std::exception) override; |