From c5940eab8ecfbd0d878f6fe714db32fd9d3e73c3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 22 Nov 2016 09:19:27 +0100 Subject: [PATCH] Make sure there's a single global RTTI for SfxLinkItem ...as otherwise dynamic_cast(...) could fail at least on macOS (as observed with CppunitTest_sc_screenshots) Change-Id: I4a41a8b085b839598119791637f79cd467ad4130 --- include/sfx2/app.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 aLink; public: