From f9369d33a455b328f96fa554e3e942e64a40a4da Mon Sep 17 00:00:00 2001 From: Alexandre Vicenzi Date: Sat, 25 Jan 2014 16:24:52 -0200 Subject: fdo#54938 Convert to cppu::supportsService Change-Id: I512c525029ebd63d261560d27e9f38bbe94f7e10 Reviewed-on: https://gerrit.libreoffice.org/7649 Tested-by: LibreOffice gerrit bot Reviewed-by: Marcos Souza Tested-by: Marcos Souza --- basegfx/source/tools/unopolypolygon.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'basegfx') diff --git a/basegfx/source/tools/unopolypolygon.cxx b/basegfx/source/tools/unopolypolygon.cxx index aa93b41428ff..38535ab05735 100644 --- a/basegfx/source/tools/unopolypolygon.cxx +++ b/basegfx/source/tools/unopolypolygon.cxx @@ -32,6 +32,7 @@ #include #include #include +#include using namespace ::com::sun::star; @@ -443,7 +444,7 @@ namespace unotools sal_Bool SAL_CALL UnoPolyPolygon::supportsService( const OUString& ServiceName ) throw( uno::RuntimeException ) { - return ServiceName == SERVICE_NAME; + return cppu::supportsService(this, ServiceName); } uno::Sequence< OUString > SAL_CALL UnoPolyPolygon::getSupportedServiceNames() throw( uno::RuntimeException ) -- cgit v1.2.3