summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-01 10:06:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-09-30 11:11:43 +0200
commit81ce629c9e8a4fc26ded9d49157e3f3263991e03 (patch)
treeaf1cb9246ad613403b84cd15fd3852d1c615a710 /forms
parent43b02c4532d88ef24c688ecd32bc8bfd6e1f57ff (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 'forms')
-rw-r--r--forms/source/richtext/richtextunowrapper.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/forms/source/richtext/richtextunowrapper.cxx b/forms/source/richtext/richtextunowrapper.cxx
index c363a9ee98d8..a168361d2950 100644
--- a/forms/source/richtext/richtextunowrapper.cxx
+++ b/forms/source/richtext/richtextunowrapper.cxx
@@ -61,6 +61,9 @@ namespace frm
ORichTextUnoWrapper::ORichTextUnoWrapper( EditEngine& _rEngine, IEngineTextChangeListener* _pTextChangeListener )
:SvxUnoText( getTextEnginePropertySet() )
{
+#if defined __clang__ && defined _MSC_VER // workaround clang-cl ABI bug PR25641
+ css::uno::Sequence<css::beans::PropertyState> dummy; (void) dummy;
+#endif
SetEditSource( new RichTextEditSource( _rEngine, _pTextChangeListener ) );
}