[Libreoffice-commits] core.git: include/sfx2

Stephan Bergmann sbergman at redhat.com
Tue Nov 22 08:21:52 UTC 2016


 include/sfx2/app.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c5940eab8ecfbd0d878f6fe714db32fd9d3e73c3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 22 09:19:27 2016 +0100

    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

diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index 17dbba1..63cc030 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:


More information about the Libreoffice-commits mailing list