summaryrefslogtreecommitdiff
path: root/avmedia/source/vlc/vlcwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/vlc/vlcwindow.cxx')
-rw-r--r--avmedia/source/vlc/vlcwindow.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/avmedia/source/vlc/vlcwindow.cxx b/avmedia/source/vlc/vlcwindow.cxx
index 02fa74f46976..65fbf6e323ef 100644
--- a/avmedia/source/vlc/vlcwindow.cxx
+++ b/avmedia/source/vlc/vlcwindow.cxx
@@ -1,4 +1,5 @@
#include <iostream>
+#include <cppuhelper/supportsservice.hxx>
#include "vlcwindow.hxx"
#include "vlcplayer.hxx"
@@ -78,7 +79,7 @@ void SAL_CALL VLCWindow::setPointerType( ::sal_Int32 ) throw (css::uno::RuntimeE
::sal_Bool SAL_CALL VLCWindow::supportsService( const ::rtl::OUString& serviceName ) throw (css::uno::RuntimeException)
{
- return serviceName == AVMEDIA_VLC_WINDOW_SERVICENAME;
+ return cppu::supportsService(this, serviceName);
}
uno::Sequence< ::rtl::OUString > SAL_CALL VLCWindow::getSupportedServiceNames() throw (css::uno::RuntimeException)