From 81ce629c9e8a4fc26ded9d49157e3f3263991e03 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 1 Dec 2015 10:06:58 +0100 Subject: work around clang-cl ABI bug PR25641 "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 Reviewed-by: Stephan Bergmann --- forms/source/richtext/richtextunowrapper.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'forms') 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 dummy; (void) dummy; +#endif SetEditSource( new RichTextEditSource( _rEngine, _pTextChangeListener ) ); } -- cgit