diff options
author | Rosemary <rosemaryseb8@gmail.com> | 2015-10-09 13:12:50 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-10-09 18:54:31 +0200 |
commit | 3bd12cb580c77d3d8f9b1147192644fd6a955885 (patch) | |
tree | 4544345eb4d63f7ad1c6e9180eed6835ac3f1bac /oox | |
parent | bb0c5f767a1e124c1ca24f783676f91749b73e80 (diff) |
correct creation of hex string from digit
Change-Id: I891a2a0b3e2194892bd4629c22b823902d18adc2
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ole/vbaexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx index ca0db6cc140c..fae6e80c536c 100644 --- a/oox/source/ole/vbaexport.cxx +++ b/oox/source/ole/vbaexport.cxx @@ -829,7 +829,7 @@ OUString createHexStringFromDigit(sal_uInt8 nDigit) { OUString aString = OUString::number( nDigit, 16 ); if(aString.getLength() == 1) - aString = aString + OUString::number(0); + aString = OUString::number(0) + aString; return aString.toAsciiUpperCase(); } |