summaryrefslogtreecommitdiff
path: root/avmedia/source/vlc/vlcwindow.cxx
diff options
context:
space:
mode:
authorAlexandre Vicenzi <vicenzi.alexandre@gmail.com>2014-01-14 23:25:56 -0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-01-17 12:24:55 +0100
commitf907f21e7db4fadf488a6bad64ebbdfb21ec4e84 (patch)
tree8f1b2f38aacbaa2fcd738d2a0e9d745830692c5d /avmedia/source/vlc/vlcwindow.cxx
parentb93ea039ebc20203913b3829a1392e56f07353a9 (diff)
Convert avmedia to cppu::supportsService
Change-Id: Ia34cdbb5a5c80806c8155462d97c60d92a0ec8f4
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)