summaryrefslogtreecommitdiff
path: root/sd/source/ui/presenter/PresenterCanvas.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/presenter/PresenterCanvas.hxx')
-rw-r--r--sd/source/ui/presenter/PresenterCanvas.hxx17
1 files changed, 14 insertions, 3 deletions
diff --git a/sd/source/ui/presenter/PresenterCanvas.hxx b/sd/source/ui/presenter/PresenterCanvas.hxx
index 80dabd43d1de..d60d41f95c9b 100644
--- a/sd/source/ui/presenter/PresenterCanvas.hxx
+++ b/sd/source/ui/presenter/PresenterCanvas.hxx
@@ -27,23 +27,25 @@
#include <com/sun/star/awt/XWindowListener.hpp>
#include <com/sun/star/geometry/AffineMatrix2D.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/rendering/XSpriteCanvas.hpp>
#include <com/sun/star/rendering/XBitmapCanvas.hpp>
#include <com/sun/star/rendering/VolatileContentDestroyedException.hpp>
#include <cppuhelper/basemutex.hxx>
-#include <cppuhelper/compbase4.hxx>
+#include <cppuhelper/compbase.hxx>
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
namespace sd { namespace presenter {
namespace {
- typedef ::cppu::WeakComponentImplHelper4 <
+ typedef ::cppu::WeakComponentImplHelper <
css::rendering::XSpriteCanvas,
css::rendering::XBitmap,
css::awt::XWindowListener,
- css::lang::XInitialization
+ css::lang::XInitialization,
+ css::lang::XServiceInfo
> PresenterCanvasInterfaceBase;
}
@@ -147,6 +149,15 @@ public:
const css::uno::Sequence<css::uno::Any>& rArguments)
throw(css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ OUString SAL_CALL getImplementationName()
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+ sal_Bool SAL_CALL supportsService(OUString const & ServiceName)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+ css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
// XCanvas
virtual void SAL_CALL clear (void)