Make sure there's a single global RTTI for SfxLinkItem

...as otherwise dynamic_cast<SfxLinkItem*>(...) could fail at least on macOS (as
observed with CppunitTest_sc_screenshots)

Change-Id: I4a41a8b085b839598119791637f79cd467ad4130
This commit is contained in:
Stephan Bergmann
2016-11-22 09:19:27 +01:00
parent 6040dfb5ec
commit c5940eab8e

View File

@@ -97,7 +97,7 @@ enum class SfxToolsModule
LAST = Basic LAST = Basic
}; };
class SfxLinkItem : public SfxPoolItem class SFX2_DLLPUBLIC SfxLinkItem : public SfxPoolItem
{ {
Link<SfxPoolItem*, void> aLink; Link<SfxPoolItem*, void> aLink;
public: public: