summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-08 14:49:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-08 14:49:40 +0200
commit155026bfc4cd26a57f64fc2d8a1922b37072b68e (patch)
tree6a69e4fd28bcd7dffc901070daeca330c7d216ee
parente395aa09a49cd4adbcc4d9c64eecc76d08f47d40 (diff)
Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happy
Change-Id: I610172167c49afa3989aa1626b10b8aaa1f91578
-rw-r--r--sd/source/ui/presenter/PresenterCanvas.cxx1
-rw-r--r--sd/source/ui/presenter/PresenterTextView.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/presenter/PresenterCanvas.cxx b/sd/source/ui/presenter/PresenterCanvas.cxx
index 5ead6b9390f2..8aec53b0b9b9 100644
--- a/sd/source/ui/presenter/PresenterCanvas.cxx
+++ b/sd/source/ui/presenter/PresenterCanvas.cxx
@@ -27,6 +27,7 @@
#include <basegfx/range/b2drectangle.hxx>
#include <basegfx/tools/canvastools.hxx>
#include <canvas/canvastools.hxx>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase1.hxx>
#include <rtl/ref.hxx>
diff --git a/sd/source/ui/presenter/PresenterTextView.cxx b/sd/source/ui/presenter/PresenterTextView.cxx
index 621577eb5a7c..9c3166c4f270 100644
--- a/sd/source/ui/presenter/PresenterTextView.cxx
+++ b/sd/source/ui/presenter/PresenterTextView.cxx
@@ -40,6 +40,7 @@
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/rendering/XSpriteCanvas.hpp>
#include <com/sun/star/rendering/XBitmapCanvas.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/Color.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>