diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-06 15:30:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-06 17:19:17 +0000 |
commit | 0e1528f1b4cd76804f5df0d75438a6f392a77d1b (patch) | |
tree | 5deeaacfddd2201add5d55ab76f9a44880c1f337 /svx/source/tbxctrls/linectrl.cxx | |
parent | 4ee829af622a2932ffad8f9712e2563579746cf0 (diff) |
just use return value optimization
Change-Id: I2c7937c238d90192383e20923f62233821445c10
Diffstat (limited to 'svx/source/tbxctrls/linectrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/linectrl.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx index 60f487e0850f..1827f9408dd3 100644 --- a/svx/source/tbxctrls/linectrl.cxx +++ b/svx/source/tbxctrls/linectrl.cxx @@ -158,9 +158,8 @@ void SvxLineStyleToolBoxControl::Update( const SfxPoolItem* pState ) { if( pDashItem ) { - String aString; - SvxUnogetInternalNameForItem( - XATTR_LINEDASH, pDashItem->GetName(), aString ); + OUString aString = SvxUnogetInternalNameForItem( + XATTR_LINEDASH, pDashItem->GetName()); pBox->SelectEntry( aString ); } else |