summaryrefslogtreecommitdiff
path: root/include/sfx2/app.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-22 09:19:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-22 09:21:23 +0100
commitc5940eab8ecfbd0d878f6fe714db32fd9d3e73c3 (patch)
tree6e2abe4559c61e2eb9ebf31018da2dc71e57063f /include/sfx2/app.hxx
parent6040dfb5ecf9945ba9c47a87a92506ad8bc88f0b (diff)
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
Diffstat (limited to 'include/sfx2/app.hxx')
-rw-r--r--include/sfx2/app.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index 17dbba122ad3..63cc0307bcc2 100644
--- a/include/sfx2/app.hxx
+++ b/include/sfx2/app.hxx
@@ -97,7 +97,7 @@ enum class SfxToolsModule
LAST = Basic
};
-class SfxLinkItem : public SfxPoolItem
+class SFX2_DLLPUBLIC SfxLinkItem : public SfxPoolItem
{
Link<SfxPoolItem*, void> aLink;
public: