diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:37:03 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:37:03 +0100 |
commit | dd4c24081865751dee1a74fbee8d4612096a0b2c (patch) | |
tree | bcc0da9886b1fbcc26f9da0d0690a82d04fba6f9 /sdext/source/minimizer/optimizerdialog.cxx | |
parent | c50ab3b3b21a7091a6ceb9c553ba9cd3ff0aaf47 (diff) |
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I7efbeda973c2cfa2472eec5b3d309e8e22aa5d9b
Diffstat (limited to 'sdext/source/minimizer/optimizerdialog.cxx')
-rw-r--r-- | sdext/source/minimizer/optimizerdialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/minimizer/optimizerdialog.cxx b/sdext/source/minimizer/optimizerdialog.cxx index a21141163fb8..76d102edba14 100644 --- a/sdext/source/minimizer/optimizerdialog.cxx +++ b/sdext/source/minimizer/optimizerdialog.cxx @@ -105,7 +105,7 @@ void OptimizerDialog::InitRoadmap() Sequence< OUString > aNames( pNames, nCount ); Sequence< Any > aValues( pValues, nCount ); - mxRoadmapControlModel = insertControlModel( OUString( "com.sun.star.awt.UnoControlRoadmapModel" ), + mxRoadmapControlModel = insertControlModel( "com.sun.star.awt.UnoControlRoadmapModel", "rdmNavi", aNames, aValues ); Reference< XPropertySet > xPropertySet( mxRoadmapControlModel, UNO_QUERY_THROW ); @@ -543,7 +543,7 @@ void ActionListener::actionPerformed( const ActionEvent& rEvent ) aLocation = aLocation.copy( 0, nIndex ); // adding .mini - aLocation = aLocation.concat( OUString(".mini") ); + aLocation = aLocation.concat( ".mini" ); aFileOpenDialog.setDefaultName( aLocation ); } } |