From 857a26eb173f9e0a2ac550da14812ba80500f114 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 2 Oct 2012 10:19:18 +0100 Subject: XubString->OUString Change-Id: I49d2d41ad4d5ee4ececf5a57eae070898e33075f --- svtools/source/control/fmtfield.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'svtools') diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx index d4a4c5bfd649..acaaa1e95433 100644 --- a/svtools/source/control/fmtfield.cxx +++ b/svtools/source/control/fmtfield.cxx @@ -710,10 +710,10 @@ void FormattedField::SetThousandsSep(sal_Bool _bUseSeparator) // we need the language for the following LanguageType eLang; - String sFmtDescription = GetFormat(eLang); + GetFormat(eLang); // generate a new format ... - ImplGetFormatter()->GenerateFormat(sFmtDescription, m_nFormatKey, eLang, _bUseSeparator, IsRed, nPrecision, nAnzLeading); + OUString sFmtDescription = ImplGetFormatter()->GenerateFormat(m_nFormatKey, eLang, _bUseSeparator, IsRed, nPrecision, nAnzLeading); // ... and introduce it to the formatter sal_uInt16 nCheckPos; sal_uInt32 nNewKey; @@ -753,10 +753,10 @@ void FormattedField::SetDecimalDigits(sal_uInt16 _nPrecision) // we need the language for the following LanguageType eLang; - String sFmtDescription = GetFormat(eLang); + GetFormat(eLang); // generate a new format ... - ImplGetFormatter()->GenerateFormat(sFmtDescription, m_nFormatKey, eLang, bThousand, IsRed, _nPrecision, nAnzLeading); + OUString sFmtDescription = ImplGetFormatter()->GenerateFormat(m_nFormatKey, eLang, bThousand, IsRed, _nPrecision, nAnzLeading); // ... and introduce it to the formatter sal_uInt16 nCheckPos; sal_uInt32 nNewKey; -- cgit