diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:18:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:18:13 +0200 |
commit | 97d5293ccaf12ceae0c6d7e79b73cd783038c95c (patch) | |
tree | a22441bc147d6b212442bd5b04f5983256f58754 /extensions/source/propctrlr | |
parent | ca149259eb8bba5c306fd4b174a7eeeb84a3bef7 (diff) |
loplugin:stringcopy: extensions
Change-Id: I6abf8ec16f39db9226efa7e2c7f82644da100c81
Diffstat (limited to 'extensions/source/propctrlr')
-rw-r--r-- | extensions/source/propctrlr/fontdialog.cxx | 4 | ||||
-rw-r--r-- | extensions/source/propctrlr/formcomponenthandler.cxx | 2 | ||||
-rw-r--r-- | extensions/source/propctrlr/standardcontrol.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/fontdialog.cxx b/extensions/source/propctrlr/fontdialog.cxx index 88721feffa37..c393654fbdce 100644 --- a/extensions/source/propctrlr/fontdialog.cxx +++ b/extensions/source/propctrlr/fontdialog.cxx @@ -313,8 +313,8 @@ namespace pcr const SvxFontItem& rFontItem = static_cast<const SvxFontItem&>(_rSet.Get(CFID_FONT)); - lcl_pushBackPropertyValue( _out_properties, PROPERTY_FONT_NAME , makeAny(OUString(rFontItem.GetFamilyName()))); - lcl_pushBackPropertyValue( _out_properties, PROPERTY_FONT_STYLENAME, makeAny(OUString(rFontItem.GetStyleName()))); + lcl_pushBackPropertyValue( _out_properties, PROPERTY_FONT_NAME , makeAny(rFontItem.GetFamilyName())); + lcl_pushBackPropertyValue( _out_properties, PROPERTY_FONT_STYLENAME, makeAny(rFontItem.GetStyleName())); lcl_pushBackPropertyValue( _out_properties, PROPERTY_FONT_FAMILY , makeAny((sal_Int16)rFontItem.GetFamily())); lcl_pushBackPropertyValue( _out_properties, PROPERTY_FONT_CHARSET , makeAny((sal_Int16)rFontItem.GetCharSet())); } diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index b3e760c447c5..17282faae69c 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -523,7 +523,7 @@ namespace pcr if ( !xDatabaseContext->hasByName( sControlValue ) ) { ::svt::OFileNotation aTransformer(sControlValue); - aPropertyValue <<= OUString( aTransformer.get( ::svt::OFileNotation::N_URL ) ); + aPropertyValue <<= aTransformer.get( ::svt::OFileNotation::N_URL ); } } } diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index 556435ad829e..4fdecfc2dd67 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -812,7 +812,7 @@ namespace pcr Any SAL_CALL OComboboxControl::getValue() { - return makeAny( OUString( getTypedControlWindow()->GetText() ) ); + return makeAny( getTypedControlWindow()->GetText() ); } |