summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-27 10:57:14 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-27 13:04:31 -0400
commit1e91520e7af29c390c03d05b39992da5aaf6d1c7 (patch)
treec7811947da3cc21f234075a1ba73774b2e68ead2 /svl
parent685c0f41b9fb02b72471b1de9042c3d20d9a95f4 (diff)
UniString removal.
Diffstat (limited to 'svl')
-rw-r--r--svl/inc/svl/zforlist.hxx4
-rw-r--r--svl/source/numbers/zforlist.cxx12
2 files changed, 16 insertions, 0 deletions
diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx
index 30d192941dd8..1249250bbe2b 100644
--- a/svl/inc/svl/zforlist.hxx
+++ b/svl/inc/svl/zforlist.hxx
@@ -411,6 +411,10 @@ public:
short& nType, sal_uInt32& nKey,
LanguageType eLnge, LanguageType eNewLnge );
+ bool PutandConvertEntry( rtl::OUString& rString, xub_StrLen& nCheckPos,
+ short& nType, sal_uInt32& nKey,
+ LanguageType eLnge, LanguageType eNewLnge );
+
/** Same as <method>PutandConvertEntry</method> but the format code string
is considered to be of the System language/country eLnge and is
converted to another System language/country eNewLnge. In this case
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 475551e4965b..5a6848c7238e 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -562,6 +562,18 @@ bool SvNumberFormatter::PutandConvertEntry(String& rString,
return bRes;
}
+bool SvNumberFormatter::PutandConvertEntry(rtl::OUString& rString,
+ xub_StrLen& nCheckPos,
+ short& nType,
+ sal_uInt32& nKey,
+ LanguageType eLnge,
+ LanguageType eNewLnge)
+{
+ String aStr;
+ bool bRet = PutandConvertEntry(aStr, nCheckPos, nType, nKey, eLnge, eNewLnge);
+ rString = aStr;
+ return bRet;
+}
bool SvNumberFormatter::PutandConvertEntrySystem(String& rString,
xub_StrLen& nCheckPos,