summaryrefslogtreecommitdiff
path: root/svl/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-02-24 19:47:04 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-02-24 19:47:04 -0500
commit54fcbd8c70130e03ad6ebc51e28897fa8e238583 (patch)
tree9ce8d4ae4200cf41d459dd931eefba74d33a2e7a /svl/inc
parent65493885df5c5d6dc1ade2f311f01e74d270fa57 (diff)
Use OUString instead of String in the unit test code.
Added another method PutEntry() to allow rtl::OUString to be used. We'll keep this until UniString gets totally eradicated.
Diffstat (limited to 'svl/inc')
-rw-r--r--svl/inc/svl/zforlist.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx
index e70a06a37e16..f3f7fdfef1e0 100644
--- a/svl/inc/svl/zforlist.hxx
+++ b/svl/inc/svl/zforlist.hxx
@@ -60,6 +60,9 @@ namespace com { namespace sun { namespace star {
}
}}}
+namespace rtl {
+ class OUString;
+}
#define SV_COUNTRY_LANGUAGE_OFFSET 5000 // Max count of formats per country/language
#define SV_MAX_ANZ_STANDARD_FORMATE 100 // Max count of builtin default formats per CL
@@ -414,6 +417,9 @@ public:
BOOL PutEntry( String& rString, xub_StrLen& nCheckPos, short& nType, sal_uInt32& nKey,
LanguageType eLnge = LANGUAGE_DONTKNOW );
+ bool PutEntry( rtl::OUString& rString, xub_StrLen& nCheckPos, short& nType, sal_uInt32& nKey,
+ LanguageType eLnge = LANGUAGE_DONTKNOW );
+
/** Same as <method>PutEntry</method> but the format code string is
considered to be of language/country eLnge and is converted to
language/country eNewLnge */