summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/usercontrol.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-19 15:20:39 +0200
committerNoel Grandin <noel@peralex.com>2013-10-01 10:08:36 +0200
commita952bd8aacba91ed654f11da07cbf0059d378918 (patch)
treec0fdd92d645df903db778c0b2606ac41be8a2e80 /extensions/source/propctrlr/usercontrol.cxx
parentde6a35f52276b601a8ebc68fbcfd28ad2db84f6f (diff)
convert extensions module from String to OUString
Change-Id: Ia0cb9fe1eaebdd295fb1742074fe2c48be61c077
Diffstat (limited to 'extensions/source/propctrlr/usercontrol.cxx')
-rw-r--r--extensions/source/propctrlr/usercontrol.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx
index d3a9f4ff2382..c0ca42f322a8 100644
--- a/extensions/source/propctrlr/usercontrol.cxx
+++ b/extensions/source/propctrlr/usercontrol.cxx
@@ -54,7 +54,7 @@ namespace pcr
if ((KEY_DELETE == nKey) || (KEY_BACKSPACE == nKey))
{
- SetText( String() );
+ SetText( "" );
if ( m_pHelper )
m_pHelper->ModifiedHdl( this );
return 1;
@@ -79,7 +79,7 @@ namespace pcr
{
TreatAsNumber( sal_False );
SetFormatter( NULL, sal_True );
- SetText( String() );
+ SetText( "" );
}
}
@@ -112,7 +112,7 @@ namespace pcr
getTypedControlWindow()->SetValue( pEntry ? getPreviewValue( *pEntry ) : 1234.56789 );
}
else
- getTypedControlWindow()->SetText( String() );
+ getTypedControlWindow()->SetText( "" );
}
//------------------------------------------------------------------
double OFormatSampleControl::getPreviewValue( const SvNumberformat& i_rEntry )
@@ -193,7 +193,7 @@ namespace pcr
if ( _rValue >>= nValue )
getTypedControlWindow()->SetValue( nValue );
else
- getTypedControlWindow()->SetText(String());
+ getTypedControlWindow()->SetText("");
}
//------------------------------------------------------------------
@@ -256,7 +256,7 @@ namespace pcr
{
getTypedControlWindow()->TreatAsNumber(sal_False);
getTypedControlWindow()->SetFormatter(NULL, sal_True);
- getTypedControlWindow()->SetText(String());
+ getTypedControlWindow()->SetText("");
m_nLastDecimalDigits = 0;
}
}
@@ -289,7 +289,7 @@ namespace pcr
getTypedControlWindow()->DisplayURL( sURL );
}
else
- getTypedControlWindow()->SetText( String() );
+ getTypedControlWindow()->SetText( "" );
}
//------------------------------------------------------------------