summaryrefslogtreecommitdiff
path: root/sd/source/ui/presenter/PresenterCanvas.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/presenter/PresenterCanvas.cxx')
-rw-r--r--sd/source/ui/presenter/PresenterCanvas.cxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/sd/source/ui/presenter/PresenterCanvas.cxx b/sd/source/ui/presenter/PresenterCanvas.cxx
index 8407ee0de734..908908c7277c 100644
--- a/sd/source/ui/presenter/PresenterCanvas.cxx
+++ b/sd/source/ui/presenter/PresenterCanvas.cxx
@@ -30,6 +30,7 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase1.hxx>
+#include <cppuhelper/supportsservice.hxx>
#include <rtl/ref.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <vcl/window.hxx>
@@ -213,6 +214,24 @@ void SAL_CALL PresenterCanvas::initialize (
}
}
+OUString PresenterCanvas::getImplementationName()
+ throw (css::uno::RuntimeException, std::exception)
+{
+ return OUString("com.sun.star.comp.Draw.PresenterCanvasFactory");
+}
+
+sal_Bool PresenterCanvas::supportsService(OUString const & ServiceName)
+ throw (css::uno::RuntimeException, std::exception)
+{
+ return cppu::supportsService(this, ServiceName);
+}
+
+css::uno::Sequence<OUString> PresenterCanvas::getSupportedServiceNames()
+ throw (css::uno::RuntimeException, std::exception)
+{
+ return css::uno::Sequence<OUString>{"com.sun.star.rendering.Canvas"};
+}
+
//----- XCanvas ---------------------------------------------------------------
void SAL_CALL PresenterCanvas::clear (void)