summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/grafctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/tbxctrls/grafctrl.cxx')
-rw-r--r--svx/source/tbxctrls/grafctrl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx
index de11a0238814..71e9b19edc08 100644
--- a/svx/source/tbxctrls/grafctrl.cxx
+++ b/svx/source/tbxctrls/grafctrl.cxx
@@ -230,7 +230,7 @@ void ImplGrafMetricField::Update( const SfxPoolItem* pItem )
SetValue( nValue );
}
else
- SetText( String() );
+ SetText( OUString() );
}
// --------------------
@@ -292,7 +292,7 @@ public:
~ImplGrafControl();
void Update( const SfxPoolItem* pItem ) { maField.Update( pItem ); }
- void SetText( const String& rStr ) { maField.SetText( rStr ); }
+ void SetText( const OUString& rStr ) { maField.SetText( rStr ); }
};
// -----------------------------------------------------------------------------
@@ -562,7 +562,7 @@ void SvxGrafToolBoxControl::StateChanged( sal_uInt16, SfxItemState eState, const
if( eState == SFX_ITEM_DISABLED )
{
pCtrl->Disable();
- pCtrl->SetText( String() );
+ pCtrl->SetText( OUString() );
}
else
{
@@ -703,7 +703,7 @@ void SvxGrafModeToolBoxControl::StateChanged( sal_uInt16, SfxItemState eState, c
if( eState == SFX_ITEM_DISABLED )
{
pCtrl->Disable();
- pCtrl->SetText( String() );
+ pCtrl->SetText( OUString() );
}
else
{