summaryrefslogtreecommitdiff
path: root/sw/source/ui/fldui/fldref.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/fldui/fldref.cxx')
-rw-r--r--sw/source/ui/fldui/fldref.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx
index 7fcabfa456f5..4173ec9c7a2f 100644
--- a/sw/source/ui/fldui/fldref.cxx
+++ b/sw/source/ui/fldui/fldref.cxx
@@ -239,12 +239,12 @@ void SwFldRefPage::Reset(const SfxItemSet& )
if( !IsRefresh() )
{
- String sUserData = GetUserData();
- if(!IsRefresh() && sUserData.GetToken(0, ';').
- EqualsIgnoreCaseAscii(USER_DATA_VERSION_1))
+ OUString sUserData = GetUserData();
+ if(!IsRefresh() && sUserData.getToken(0, ';').
+ equalsIgnoreAsciiCase(USER_DATA_VERSION_1))
{
- String sVal = sUserData.GetToken(1, ';');
- sal_uInt16 nVal = static_cast< sal_uInt16 >(sVal.ToInt32());
+ OUString sVal = sUserData.getToken(1, ';');
+ sal_uInt16 nVal = static_cast< sal_uInt16 >(sVal.toInt32());
if(nVal != USHRT_MAX)
{
for(sal_uInt16 i = 0; i < m_pTypeLB->GetEntryCount(); i++)