From ef59252a7a3e9474569710866ab4ff5c1225cff7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 30 Jul 2019 17:49:42 +0200 Subject: Improved loplugin:stringconstant (now that GCC 7 supports it): sc Change-Id: I1bfd2bb623aac5ac457a0b719da64ab393ccd0ba Reviewed-on: https://gerrit.libreoffice.org/76654 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sc/source/ui/vba/vbasheetobjects.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/vba/vbasheetobjects.cxx') diff --git a/sc/source/ui/vba/vbasheetobjects.cxx b/sc/source/ui/vba/vbasheetobjects.cxx index eb2797fcb0bb..2d8568526039 100644 --- a/sc/source/ui/vba/vbasheetobjects.cxx +++ b/sc/source/ui/vba/vbasheetobjects.cxx @@ -444,7 +444,7 @@ bool ScVbaControlContainer::implPickShape( const uno::Reference< drawing::XShape OUString ScVbaControlContainer::implGetShapeServiceName() const { - return OUString( "com.sun.star.drawing.ControlShape" ); + return "com.sun.star.drawing.ControlShape"; } bool ScVbaControlContainer::implCheckProperties( const uno::Reference< beans::XPropertySet >& /*rxModelProps*/ ) const -- cgit