summaryrefslogtreecommitdiff
path: root/sw/source/core/attr
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-10 15:24:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-10 15:31:54 +0200
commit54253f382e77483b2831af82cf90e2afb0cd55db (patch)
tree4eef01996551c8a8cfc5705f68c3c4acf618397a /sw/source/core/attr
parent172a96e5246c7847313838464c671dccfd564ab8 (diff)
Ensure single RTTI symbol instance
...to make typeid comparison in sw::UnoCursorPointer::SwClientNotify work also under the Itanium C++ ABI/libc++ semantics (as used on Mac OS X), not only the less strict GCC/libstc++ semantics (as typically used on Linux). This caused CppunitTest_sw_uiwriter's testUnoCursorPointer to fail on Mac OS X. (DocDisposingHint and LegacyModifyHint need to be SW_DLLPUBLIC even though they are nominally only used inside the sw library, because they are also used from the CppunitTest_sw_uiwriter test code.) Change-Id: Ideceade22ca3049ae287aea468de93c72bee5fdc
Diffstat (limited to 'sw/source/core/attr')
-rw-r--r--sw/source/core/attr/calbck.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/attr/calbck.cxx b/sw/source/core/attr/calbck.cxx
index 127a7749a2ae..f3a4aa0a33b4 100644
--- a/sw/source/core/attr/calbck.cxx
+++ b/sw/source/core/attr/calbck.cxx
@@ -23,6 +23,7 @@
#include <swcache.hxx>
#include <swfntcch.hxx>
+sw::LegacyModifyHint::~LegacyModifyHint() {}
TYPEINIT0( SwClient );