summaryrefslogtreecommitdiff
path: root/svtools/source/control
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-02 10:19:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-02 12:45:13 +0100
commit857a26eb173f9e0a2ac550da14812ba80500f114 (patch)
treea67413a880275a360a9d1ac693465c1d0e4163dd /svtools/source/control
parent741dd512af5bd448c231cbd945e545cd79377858 (diff)
XubString->OUString
Change-Id: I49d2d41ad4d5ee4ececf5a57eae070898e33075f
Diffstat (limited to 'svtools/source/control')
-rw-r--r--svtools/source/control/fmtfield.cxx8
1 files changed, 4 insertions, 4 deletions
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;