summaryrefslogtreecommitdiff
path: root/sd/source/ui/accessibility
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 /sd/source/ui/accessibility
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 'sd/source/ui/accessibility')
-rw-r--r--sd/source/ui/accessibility/AccessiblePageShape.cxx3
-rw-r--r--sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx3
-rw-r--r--sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx3
3 files changed, 9 insertions, 0 deletions
diff --git a/sd/source/ui/accessibility/AccessiblePageShape.cxx b/sd/source/ui/accessibility/AccessiblePageShape.cxx
index c19d6a40a4c6..f45eec219f24 100644
--- a/sd/source/ui/accessibility/AccessiblePageShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePageShape.cxx
@@ -47,6 +47,9 @@ AccessiblePageShape::AccessiblePageShape (
: AccessibleShape (AccessibleShapeInfo (nullptr, rxParent), rShapeTreeInfo),
mxPage (rxPage)
{
+#if defined __clang__ && defined _MSC_VER // workaround clang-cl ABI bug PR25641
+ css::uno::Sequence<css::uno::Type> dummy; (void) dummy;
+#endif
// The main part of the initialization is done in the init method which
// has to be called from this constructor's caller.
}
diff --git a/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx
index 67d9bc73533c..4ed4bc079a22 100644
--- a/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx
@@ -36,6 +36,9 @@ AccessiblePresentationGraphicShape::AccessiblePresentationGraphicShape (
const AccessibleShapeTreeInfo& rShapeTreeInfo)
: AccessibleGraphicShape (rShapeInfo, rShapeTreeInfo)
{
+#if defined __clang__ && defined _MSC_VER // workaround clang-cl ABI bug PR25641
+ css::uno::Sequence<css::uno::Type> dummy; (void) dummy;
+#endif
}
AccessiblePresentationGraphicShape::~AccessiblePresentationGraphicShape()
diff --git a/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx
index c06f1e4de365..e8b04873da0d 100644
--- a/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx
@@ -36,6 +36,9 @@ AccessiblePresentationOLEShape::AccessiblePresentationOLEShape (
const AccessibleShapeTreeInfo& rShapeTreeInfo)
: AccessibleOLEShape (rShapeInfo, rShapeTreeInfo)
{
+#if defined __clang__ && defined _MSC_VER // workaround clang-cl ABI bug PR25641
+ css::uno::Sequence<css::uno::Type> dummy; (void) dummy;
+#endif
}
AccessiblePresentationOLEShape::~AccessiblePresentationOLEShape()