From 54fcbd8c70130e03ad6ebc51e28897fa8e238583 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 24 Feb 2011 19:47:04 -0500 Subject: 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. --- svl/inc/svl/zforlist.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'svl/inc') 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 PutEntry but the format code string is considered to be of language/country eLnge and is converted to language/country eNewLnge */ -- cgit