diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-26 15:49:52 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-26 15:05:44 +0100 |
commit | ed9ff1a397c7eeb7eefbef0ba633a62f6f42bef1 (patch) | |
tree | 66c4a7a99fa5448f763a87b7cc4e25ec3d5b5eed /basegfx | |
parent | 967e0cc303c7be4a88905b327b9d02ba12f5e375 (diff) |
Drop these defines
Change-Id: I7ff56d6f016ea90c4b5cdcbbb36141627037c0ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113125
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/tools/unopolypolygon.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
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 |