[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - include/sfx2

Stephan Bergmann sbergman at redhat.com
Wed Nov 23 12:21:32 UTC 2016


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

New commits:
commit a722ac370f7fca95e63c235b027420cdd7d648d5
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)
    
    (cherry picked from commit c5940eab8ecfbd0d878f6fe714db32fd9d3e73c3)
    Conflicts:
    	include/sfx2/app.hxx
    
    Change-Id: I4a41a8b085b839598119791637f79cd467ad4130
    Reviewed-on: https://gerrit.libreoffice.org/31066
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index 4978bc7..c868033 100644
--- a/include/sfx2/app.hxx
+++ b/include/sfx2/app.hxx
@@ -88,7 +88,7 @@ namespace sfx2
     }
 }
 
-class SfxLinkItem : public SfxPoolItem
+class SFX2_DLLPUBLIC SfxLinkItem : public SfxPoolItem
 {
     Link<SfxPoolItem*, void> aLink;
 public:


More information about the Libreoffice-commits mailing list