diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-27 17:01:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-28 16:45:48 +0100 |
commit | 5efc15f0006866ac4c422c1b2bde173ded47893f (patch) | |
tree | 119b46339aae67b9a5b1a76ea2a955a548e5016e /svx/source/toolbars/extrusionbar.cxx | |
parent | e39a959429234aef5348a8b5800b27c29de02a6f (diff) |
reduce use of UniString from ResID ctor
Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
Diffstat (limited to 'svx/source/toolbars/extrusionbar.cxx')
-rw-r--r-- | svx/source/toolbars/extrusionbar.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/toolbars/extrusionbar.cxx b/svx/source/toolbars/extrusionbar.cxx index ef8fe93b1f18..d34026c9e9ff 100644 --- a/svx/source/toolbars/extrusionbar.cxx +++ b/svx/source/toolbars/extrusionbar.cxx @@ -83,7 +83,7 @@ ExtrusionBar::ExtrusionBar(SfxViewShell* pViewShell ) SetPool(&pViewShell->GetPool()); SetHelpId( SVX_INTERFACE_EXTRUSION_BAR ); - SetName( String( SVX_RES( RID_SVX_EXTRUSION_BAR ))); + SetName(SVX_RESSTR(RID_SVX_EXTRUSION_BAR)); } @@ -571,7 +571,7 @@ void ExtrusionBar::execute( SdrView* pSdrView, SfxRequest& rReq, SfxBindings& rB { if( bUndo ) { - String aStr( SVX_RES( nStrResId ) ); + OUString aStr( SVX_RESSTR( nStrResId ) ); pSdrView->BegUndo( aStr ); pSdrView->AddUndo( pSdrView->GetModel()->GetSdrUndoFactory().CreateUndoAttrObject( *pObj ) ); } |