diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-22 09:19:27 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-11-23 12:21:04 +0000 |
commit | a722ac370f7fca95e63c235b027420cdd7d648d5 (patch) | |
tree | 1d640dc6602432cc50d1e33b5a3cb367ad6e52a6 /include | |
parent | cefb442114814cc4801cd227633853a9bf103ce2 (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)
(cherry picked from commit c5940eab8ecfbd0d878f6fe714db32fd9d3e73c3)
Conflicts:
include/sfx2/app.hxx
Change-Id: I4a41a8b085b839598119791637f79cd467ad4130
Reviewed-on: https://gerrit.libreoffice.org/31066
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/app.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx index 4978bc732377..c868033473c8 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: |