diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:58:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 13:00:39 +0200 |
commit | 6721d123fbb97007281e59537a77b6e5bf1651dc (patch) | |
tree | 78009ef8c228676c33a65cd0762110be4d5a4bdf /canvas/source/vcl | |
parent | 2d447ddc7a46cb6eb475238df1e0b9d10f1e9c06 (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): canvas
Change-Id: Ia01e9c6a5a730e0efe97a9315810a5dfef5ec98f
Reviewed-on: https://gerrit.libreoffice.org/76693
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'canvas/source/vcl')
-rw-r--r-- | canvas/source/vcl/canvas.cxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/canvasbitmap.cxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/canvascustomsprite.cxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/canvasfont.cxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/spritecanvas.cxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/textlayout.cxx | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/canvas/source/vcl/canvas.cxx b/canvas/source/vcl/canvas.cxx index c33185b2999c..56f2bc0f0c64 100644 --- a/canvas/source/vcl/canvas.cxx +++ b/canvas/source/vcl/canvas.cxx @@ -127,7 +127,7 @@ namespace vclcanvas OUString SAL_CALL Canvas::getServiceName( ) { - return OUString( CANVAS_SERVICE_NAME ); + return CANVAS_SERVICE_NAME; } bool Canvas::repaint( const GraphicObjectSharedPtr& rGrf, diff --git a/canvas/source/vcl/canvasbitmap.cxx b/canvas/source/vcl/canvasbitmap.cxx index 638d71764856..48bd6c5d963c 100644 --- a/canvas/source/vcl/canvasbitmap.cxx +++ b/canvas/source/vcl/canvasbitmap.cxx @@ -76,7 +76,7 @@ namespace vclcanvas OUString SAL_CALL CanvasBitmap::getImplementationName( ) { - return OUString( "VCLCanvas.CanvasBitmap" ); + return "VCLCanvas.CanvasBitmap"; } sal_Bool SAL_CALL CanvasBitmap::supportsService( const OUString& ServiceName ) diff --git a/canvas/source/vcl/canvascustomsprite.cxx b/canvas/source/vcl/canvascustomsprite.cxx index 27cd685f2325..4e504155e73f 100644 --- a/canvas/source/vcl/canvascustomsprite.cxx +++ b/canvas/source/vcl/canvascustomsprite.cxx @@ -117,7 +117,7 @@ namespace vclcanvas OUString SAL_CALL CanvasCustomSprite::getImplementationName() { - return OUString( "VCLCanvas.CanvasCustomSprite" ); + return "VCLCanvas.CanvasCustomSprite"; } sal_Bool SAL_CALL CanvasCustomSprite::supportsService( const OUString& ServiceName ) diff --git a/canvas/source/vcl/canvasfont.cxx b/canvas/source/vcl/canvasfont.cxx index b21ffd4cdaaa..5609cb3334d5 100644 --- a/canvas/source/vcl/canvasfont.cxx +++ b/canvas/source/vcl/canvasfont.cxx @@ -153,7 +153,7 @@ namespace vclcanvas OUString SAL_CALL CanvasFont::getImplementationName() { - return OUString( "VCLCanvas::CanvasFont" ); + return "VCLCanvas::CanvasFont"; } sal_Bool SAL_CALL CanvasFont::supportsService( const OUString& ServiceName ) diff --git a/canvas/source/vcl/spritecanvas.cxx b/canvas/source/vcl/spritecanvas.cxx index 429559fbe964..90697dda794d 100644 --- a/canvas/source/vcl/spritecanvas.cxx +++ b/canvas/source/vcl/spritecanvas.cxx @@ -141,7 +141,7 @@ namespace vclcanvas OUString SAL_CALL SpriteCanvas::getServiceName( ) { - return OUString( SPRITECANVAS_SERVICE_NAME ); + return SPRITECANVAS_SERVICE_NAME; } bool SpriteCanvas::repaint( const GraphicObjectSharedPtr& rGrf, diff --git a/canvas/source/vcl/textlayout.cxx b/canvas/source/vcl/textlayout.cxx index 3eee412c3416..48e6aaac79dc 100644 --- a/canvas/source/vcl/textlayout.cxx +++ b/canvas/source/vcl/textlayout.cxx @@ -409,7 +409,7 @@ namespace vclcanvas OUString SAL_CALL TextLayout::getImplementationName() { - return OUString( "VCLCanvas::TextLayout" ); + return "VCLCanvas::TextLayout"; } sal_Bool SAL_CALL TextLayout::supportsService( const OUString& ServiceName ) |