[Libreoffice-commits] .: 2 commits - i18npool/source
David Tardon
dtardon at kemper.freedesktop.org
Tue Dec 14 23:08:38 PST 2010
i18npool/source/collator/chaptercollator.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6439b0e444dabb772b648f6788e73c47a25cce72
Author: David Tardon <dtardon at redhat.com>
Date: Wed Dec 15 08:08:30 2010 +0100
remove reference to sun bugtracker
diff --git a/i18npool/source/collator/chaptercollator.cxx b/i18npool/source/collator/chaptercollator.cxx
index 6ecf3e6..729f4a9 100644
--- a/i18npool/source/collator/chaptercollator.cxx
+++ b/i18npool/source/collator/chaptercollator.cxx
@@ -80,7 +80,7 @@ ChapterCollator::compareSubstring( const OUString& str1, sal_Int32 off1, sal_Int
const OUString aAddAllowed(RTL_CONSTASCII_USTRINGPARAM("?"));
ParseResult res1, res2;
- // Bug #100323#, since parseAnyToken does not take length as parameter, we have to copy
+ // since parseAnyToken does not take length as parameter, we have to copy
// it to a temp. string.
OUString s1 = str1.copy(off1+i1, len1-i1), s2 = str2.copy(off2+i2, len2-i2);
res1 = cclass->parseAnyToken( s1, 0, nLocale, DIGIT, aAddAllowed, DIGIT, aAddAllowed );
commit ad0a2eb06ed495bc3e16ef485e979ae6a761d948
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Wed Dec 15 08:07:39 2010 +0100
RTL_CONSTASCII_USTRINGPARAM i18npool
diff --git a/i18npool/source/collator/chaptercollator.cxx b/i18npool/source/collator/chaptercollator.cxx
index db5edcf..6ecf3e6 100644
--- a/i18npool/source/collator/chaptercollator.cxx
+++ b/i18npool/source/collator/chaptercollator.cxx
@@ -78,7 +78,7 @@ ChapterCollator::compareSubstring( const OUString& str1, sal_Int32 off1, sal_Int
if( ans != 0 )
return ans;
- const OUString &aAddAllowed = OUString::createFromAscii("?");
+ const OUString aAddAllowed(RTL_CONSTASCII_USTRINGPARAM("?"));
ParseResult res1, res2;
// Bug #100323#, since parseAnyToken does not take length as parameter, we have to copy
// it to a temp. string.
More information about the Libreoffice-commits
mailing list