diff options
Diffstat (limited to 'sw/source/ui/fldui/flddinf.cxx')
-rw-r--r-- | sw/source/ui/fldui/flddinf.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/fldui/flddinf.cxx b/sw/source/ui/fldui/flddinf.cxx index 6536b12975d2..7cf2d5b204ea 100644 --- a/sw/source/ui/fldui/flddinf.cxx +++ b/sw/source/ui/fldui/flddinf.cxx @@ -124,11 +124,11 @@ void SwFldDokInfPage::Reset(const SfxItemSet& ) } sal_uInt16 nSelEntryData = USHRT_MAX; - String sUserData = GetUserData(); - if(sUserData.GetToken(0, ';').EqualsIgnoreCaseAscii(USER_DATA_VERSION_1)) + OUString sUserData = GetUserData(); + if (sUserData.getToken(0, ';').equalsIgnoreAsciiCase(USER_DATA_VERSION_1)) { - String sVal = sUserData.GetToken(1, ';'); - nSelEntryData = static_cast< sal_uInt16 >(sVal.ToInt32()); + OUString sVal = sUserData.getToken(1, ';'); + nSelEntryData = static_cast< sal_uInt16 >(sVal.toInt32()); } std::vector<OUString> aLst; |