diff options
author | José Guilherme Vanz <vanz@libreoffice.org> | 2013-10-28 00:53:45 -0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-04 12:24:18 +0100 |
commit | 2bb5f4773cc73a13bcd1460c02bc33bb4e60225c (patch) | |
tree | cf14cd65bf512283c5e5eddcba7b37ec238ba7b7 /avmedia/source/gstreamer/gstplayer.cxx | |
parent | 0432f847bba2e2d074d72a9ff794d680e0f46785 (diff) |
fdo#54938: Convert to use cppu::supportsService
Change-Id: I5b8e08bad3d83b6df23127377c0700fcd27ff084
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'avmedia/source/gstreamer/gstplayer.cxx')
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx index 14fecf3b5253..201c2ef3d3f0 100644 --- a/avmedia/source/gstreamer/gstplayer.cxx +++ b/avmedia/source/gstreamer/gstplayer.cxx @@ -19,6 +19,8 @@ #include <math.h> +#include <cppuhelper/supportsservice.hxx> + #include <rtl/string.hxx> #include <vcl/syschild.hxx> @@ -711,7 +713,7 @@ OUString SAL_CALL Player::getImplementationName() sal_Bool SAL_CALL Player::supportsService( const OUString& ServiceName ) throw (uno::RuntimeException) { - return ServiceName == AVMEDIA_GST_PLAYER_SERVICENAME; + return cppu::supportsService(this, ServiceName); } // ------------------------------------------------------------------------------ |