diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:45:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:52:33 +0200 |
commit | 7680623292f272cf1a8cceb4abb5a67bb5469918 (patch) | |
tree | 9c07a62ce919f9f64d78fc7d60040a3925b5f019 /vcl/source/graphic | |
parent | 8b9f2959419a382fec85cdc25b8c49f59b6d85fc (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): vcl
Change-Id: I0bd1d26f6fc4052b812fde33ebd1d63111426942
Reviewed-on: https://gerrit.libreoffice.org/76627
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/source/graphic')
-rw-r--r-- | vcl/source/graphic/UnoGraphic.cxx | 2 | ||||
-rw-r--r-- | vcl/source/graphic/UnoGraphicDescriptor.cxx | 2 | ||||
-rw-r--r-- | vcl/source/graphic/UnoGraphicObject.cxx | 2 | ||||
-rw-r--r-- | vcl/source/graphic/UnoGraphicProvider.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/graphic/UnoGraphic.cxx b/vcl/source/graphic/UnoGraphic.cxx index b13860caa734..f546389663b1 100644 --- a/vcl/source/graphic/UnoGraphic.cxx +++ b/vcl/source/graphic/UnoGraphic.cxx @@ -85,7 +85,7 @@ void SAL_CALL Graphic::release() throw() OUString SAL_CALL Graphic::getImplementationName() { - return OUString( "com.sun.star.comp.graphic.Graphic" ); + return "com.sun.star.comp.graphic.Graphic"; } sal_Bool SAL_CALL Graphic::supportsService( const OUString& rServiceName ) diff --git a/vcl/source/graphic/UnoGraphicDescriptor.cxx b/vcl/source/graphic/UnoGraphicDescriptor.cxx index 331e24167aff..9db06af2a4cb 100644 --- a/vcl/source/graphic/UnoGraphicDescriptor.cxx +++ b/vcl/source/graphic/UnoGraphicDescriptor.cxx @@ -192,7 +192,7 @@ void SAL_CALL GraphicDescriptor::release() OUString SAL_CALL GraphicDescriptor::getImplementationName() { - return OUString( "com.sun.star.comp.graphic.GraphicDescriptor" ); + return "com.sun.star.comp.graphic.GraphicDescriptor"; } sal_Bool SAL_CALL GraphicDescriptor::supportsService( const OUString& ServiceName ) diff --git a/vcl/source/graphic/UnoGraphicObject.cxx b/vcl/source/graphic/UnoGraphicObject.cxx index 86bb100ed3f2..bab6bffe5beb 100644 --- a/vcl/source/graphic/UnoGraphicObject.cxx +++ b/vcl/source/graphic/UnoGraphicObject.cxx @@ -49,7 +49,7 @@ public: virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.graphic.GraphicObject"); + return "com.sun.star.graphic.GraphicObject"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override diff --git a/vcl/source/graphic/UnoGraphicProvider.cxx b/vcl/source/graphic/UnoGraphicProvider.cxx index 907b81316050..2ab3b2f38b99 100644 --- a/vcl/source/graphic/UnoGraphicProvider.cxx +++ b/vcl/source/graphic/UnoGraphicProvider.cxx @@ -90,7 +90,7 @@ GraphicProvider::GraphicProvider() OUString SAL_CALL GraphicProvider::getImplementationName() { - return OUString( "com.sun.star.comp.graphic.GraphicProvider" ); + return "com.sun.star.comp.graphic.GraphicProvider"; } sal_Bool SAL_CALL GraphicProvider::supportsService( const OUString& ServiceName ) |