diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-12-01 10:06:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-30 11:11:43 +0200 |
commit | 81ce629c9e8a4fc26ded9d49157e3f3263991e03 (patch) | |
tree | af1cb9246ad613403b84cd15fd3852d1c615a710 /sw | |
parent | 43b02c4532d88ef24c688ecd32bc8bfd6e1f57ff (diff) |
work around clang-cl ABI bug PR25641
<https://bugs.llvm.org/show_bug.cgi?id=25641> "clang-cl: vtordisp thunks not
emitted for functions with class template specializations in their signatures".
Change-Id: I4f9a9777ba7486a026cb3b34340fa5b78f210f05
Reviewed-on: https://gerrit.libreoffice.org/42949
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/fields/textapi.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/fields/textapi.cxx b/sw/source/core/fields/textapi.cxx index 2bffe90f0f0c..0c8b8f233ddc 100644 --- a/sw/source/core/fields/textapi.cxx +++ b/sw/source/core/fields/textapi.cxx @@ -56,6 +56,9 @@ SwTextAPIObject::SwTextAPIObject( SwTextAPIEditSource* p ) : SvxUnoText( p, ImplGetSvxTextPortionPropertySet(), uno::Reference < text::XText >() ) , pSource(p) { +#if defined __clang__ && defined _MSC_VER // workaround clang-cl ABI bug PR25641 + css::uno::Sequence<css::beans::PropertyState>dummy; (void) dummy; +#endif } SwTextAPIObject::~SwTextAPIObject() throw() |