From ed9ff1a397c7eeb7eefbef0ba633a62f6f42bef1 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Fri, 26 Mar 2021 15:49:52 +0300 Subject: Drop these defines Change-Id: I7ff56d6f016ea90c4b5cdcbbb36141627037c0ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113125 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- basegfx/source/tools/unopolypolygon.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'basegfx') diff --git a/basegfx/source/tools/unopolypolygon.cxx b/basegfx/source/tools/unopolypolygon.cxx index c05f50f62684..0d1696783c9f 100644 --- a/basegfx/source/tools/unopolypolygon.cxx +++ b/basegfx/source/tools/unopolypolygon.cxx @@ -424,11 +424,9 @@ namespace basegfx::unotools return aSubsetPoly; } -#define IMPLEMENTATION_NAME "gfx::internal::UnoPolyPolygon" -#define SERVICE_NAME "com.sun.star.rendering.PolyPolygon2D" OUString SAL_CALL UnoPolyPolygon::getImplementationName() { - return IMPLEMENTATION_NAME; + return "gfx::internal::UnoPolyPolygon"; } sal_Bool SAL_CALL UnoPolyPolygon::supportsService( const OUString& ServiceName ) @@ -438,7 +436,7 @@ namespace basegfx::unotools uno::Sequence< OUString > SAL_CALL UnoPolyPolygon::getSupportedServiceNames() { - return { SERVICE_NAME }; + return { "com.sun.star.rendering.PolyPolygon2D" }; } B2DPolyPolygon UnoPolyPolygon::getPolyPolygon() const -- cgit