https://bugs.documentfoundation.org/show_bug.cgi?id=95565

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected]
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=95
                   |                            |354

--- Comment #3 from Julien Nabet <[email protected]> ---
Justin: what about this patch?
diff --git a/i18nutil/source/utility/unicode.cxx
b/i18nutil/source/utility/unicode.cxx
index 8b56239..1d92b43 100644
--- a/i18nutil/source/utility/unicode.cxx
+++ b/i18nutil/source/utility/unicode.cxx
@@ -1242,7 +1242,7 @@ OUString ToggleUnicodeCodepoint::ReplacementString()
         sal_Int32 nPos = 0;
         while( nPos < sIn.getLength() )
         {
-            OUStringBuffer aTmp =
OUString::number(sIn.iterateCodePoints(&nPos),16);
+            OUStringBuffer aTmp =
OUString::number(sIn.iterateCodePoints(&nPos),16).toAsciiUpperCase();
             //pad with zeros - minimum length of 4.
             for( sal_Int32 i = 4 - aTmp.getLength(); i > 0; --i )
                 aTmp.insert( 0,"0" );

(of course qa part should be changed too)

Indeed, if hexa can be made in uppercase or lowercase, it seems that, in
general, hexa are displayed with uppercase.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to