summaryrefslogtreecommitdiff
path: root/sd/source/ui/presenter/SlideRenderer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/presenter/SlideRenderer.hxx')
-rw-r--r--sd/source/ui/presenter/SlideRenderer.hxx17
1 files changed, 14 insertions, 3 deletions
diff --git a/sd/source/ui/presenter/SlideRenderer.hxx b/sd/source/ui/presenter/SlideRenderer.hxx
index 6e318bcbc193..19846faca260 100644
--- a/sd/source/ui/presenter/SlideRenderer.hxx
+++ b/sd/source/ui/presenter/SlideRenderer.hxx
@@ -24,19 +24,21 @@
#include <com/sun/star/drawing/XDrawPage.hpp>
#include <com/sun/star/drawing/XSlideRenderer.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/rendering/XSpriteCanvas.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/basemutex.hxx>
-#include <cppuhelper/compbase2.hxx>
+#include <cppuhelper/compbase.hxx>
#include <boost/noncopyable.hpp>
namespace sd { namespace presenter {
namespace {
- typedef ::cppu::WeakComponentImplHelper2 <
+ typedef ::cppu::WeakComponentImplHelper <
css::drawing::XSlideRenderer,
- css::lang::XInitialization
+ css::lang::XInitialization,
+ css::lang::XServiceInfo
> SlideRendererInterfaceBase;
}
@@ -57,6 +59,15 @@ public:
virtual void SAL_CALL initialize (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;
+
// XSlideRenderer
virtual css::uno::Reference<css::awt::XBitmap> SAL_CALL createPreview (