summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-01 09:57:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-01 13:19:04 +0200
commit664de5a816bdcb68ada087f99ef5a76139890fdf (patch)
tree30dca6260b95bf402930be3eb33766923182b1c1 /canvas
parentf88160d640b3efe4ffdf8126795a56d25d83944d (diff)
loplugin:stringconstant (clang-cl)
Change-Id: Id1a82cea4444255fdb693e126b7571a406094624 Reviewed-on: https://gerrit.libreoffice.org/79916 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_canvas.cxx4
-rw-r--r--canvas/source/directx/dx_canvasbitmap.cxx2
-rw-r--r--canvas/source/directx/dx_canvascustomsprite.cxx2
-rw-r--r--canvas/source/directx/dx_canvasfont.cxx2
-rw-r--r--canvas/source/directx/dx_spritecanvas.cxx2
-rw-r--r--canvas/source/directx/dx_textlayout.cxx2
6 files changed, 7 insertions, 7 deletions
diff --git a/canvas/source/directx/dx_canvas.cxx b/canvas/source/directx/dx_canvas.cxx
index 41e9d4816bec..e9fde8ae8fa5 100644
--- a/canvas/source/directx/dx_canvas.cxx
+++ b/canvas/source/directx/dx_canvas.cxx
@@ -126,7 +126,7 @@ namespace dxcanvas
OUString SAL_CALL Canvas::getServiceName( )
{
- return OUString( CANVAS_SERVICE_NAME );
+ return CANVAS_SERVICE_NAME;
}
BitmapCanvas::BitmapCanvas( const uno::Sequence< uno::Any >& aArguments,
@@ -202,7 +202,7 @@ namespace dxcanvas
OUString SAL_CALL BitmapCanvas::getServiceName( )
{
- return OUString( BITMAPCANVAS_SERVICE_NAME );
+ return BITMAPCANVAS_SERVICE_NAME;
}
IBitmapSharedPtr BitmapCanvas::getBitmap() const
diff --git a/canvas/source/directx/dx_canvasbitmap.cxx b/canvas/source/directx/dx_canvasbitmap.cxx
index e7a89ae888e4..f3d99a1e3ac4 100644
--- a/canvas/source/directx/dx_canvasbitmap.cxx
+++ b/canvas/source/directx/dx_canvasbitmap.cxx
@@ -240,7 +240,7 @@ namespace dxcanvas
OUString SAL_CALL CanvasBitmap::getImplementationName( )
{
- return OUString( "DXCanvas.CanvasBitmap" );
+ return "DXCanvas.CanvasBitmap";
}
sal_Bool SAL_CALL CanvasBitmap::supportsService( const OUString& ServiceName )
diff --git a/canvas/source/directx/dx_canvascustomsprite.cxx b/canvas/source/directx/dx_canvascustomsprite.cxx
index 018723d6b692..ad18d765ae2b 100644
--- a/canvas/source/directx/dx_canvascustomsprite.cxx
+++ b/canvas/source/directx/dx_canvascustomsprite.cxx
@@ -81,7 +81,7 @@ namespace dxcanvas
OUString SAL_CALL CanvasCustomSprite::getImplementationName()
{
- return OUString( "DXCanvas.CanvasCustomSprite" );
+ return "DXCanvas.CanvasCustomSprite";
}
sal_Bool SAL_CALL CanvasCustomSprite::supportsService( const OUString& ServiceName )
diff --git a/canvas/source/directx/dx_canvasfont.cxx b/canvas/source/directx/dx_canvasfont.cxx
index e306fe84b1af..e24553c7ca29 100644
--- a/canvas/source/directx/dx_canvasfont.cxx
+++ b/canvas/source/directx/dx_canvasfont.cxx
@@ -114,7 +114,7 @@ namespace dxcanvas
OUString SAL_CALL CanvasFont::getImplementationName()
{
- return OUString( "DXCanvas::CanvasFont" );
+ return "DXCanvas::CanvasFont";
}
sal_Bool SAL_CALL CanvasFont::supportsService( const OUString& ServiceName )
diff --git a/canvas/source/directx/dx_spritecanvas.cxx b/canvas/source/directx/dx_spritecanvas.cxx
index c8416f694a2e..65bf68ed792f 100644
--- a/canvas/source/directx/dx_spritecanvas.cxx
+++ b/canvas/source/directx/dx_spritecanvas.cxx
@@ -151,7 +151,7 @@ namespace dxcanvas
OUString SAL_CALL SpriteCanvas::getServiceName( )
{
- return OUString( SPRITECANVAS_SERVICE_NAME );
+ return SPRITECANVAS_SERVICE_NAME;
}
const IDXRenderModuleSharedPtr& SpriteCanvas::getRenderModule() const
diff --git a/canvas/source/directx/dx_textlayout.cxx b/canvas/source/directx/dx_textlayout.cxx
index ff62ee5e0b80..5e69f70df624 100644
--- a/canvas/source/directx/dx_textlayout.cxx
+++ b/canvas/source/directx/dx_textlayout.cxx
@@ -215,7 +215,7 @@ namespace dxcanvas
OUString SAL_CALL TextLayout::getImplementationName()
{
- return OUString( "DXCanvas::TextLayout" );
+ return "DXCanvas::TextLayout";
}
sal_Bool SAL_CALL TextLayout::supportsService( const OUString& ServiceName )