[Libreoffice-commits] .: l10ntools/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Dec 17 04:48:48 PST 2012


 l10ntools/source/propmerge.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit ce2f7954fdd9c537f8904c15c150171bc14642dd
Author: Andras Timar <atimar at suse.com>
Date:   Mon Dec 17 13:49:09 2012 +0100

    fix ascii escaped unicode generation
    
    Change-Id: I732a480e71c3f26ffde527c5e0eea36f814b8b03

diff --git a/l10ntools/source/propmerge.cxx b/l10ntools/source/propmerge.cxx
index 3bd44fb..8c2b97b 100644
--- a/l10ntools/source/propmerge.cxx
+++ b/l10ntools/source/propmerge.cxx
@@ -88,7 +88,9 @@ namespace
                 rOfstream
                     << "\\u"
                     << std::setfill('0') << std::setw(2) << std::uppercase
-                    << std::hex << (cUniCode >> 8) << (cUniCode & 0xFF);
+                    << std::hex << (cUniCode >> 8)
+                    << std::setfill('0') << std::setw(2) << std::uppercase
+                    << std::hex << (cUniCode & 0xFF);
             }
         }
     }


More information about the Libreoffice-commits mailing list