summaryrefslogtreecommitdiff
path: root/sc/source/filter/ftools/ftools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/ftools/ftools.cxx')
-rw-r--r--sc/source/filter/ftools/ftools.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/ftools/ftools.cxx b/sc/source/filter/ftools/ftools.cxx
index c34c446ea482..a116d448d971 100644
--- a/sc/source/filter/ftools/ftools.cxx
+++ b/sc/source/filter/ftools/ftools.cxx
@@ -117,10 +117,10 @@ rtl_TextEncoding ScfTools::GetSystemTextEncoding()
OUString ScfTools::GetHexStr( sal_uInt16 nValue )
{
const sal_Char pHex[] = "0123456789ABCDEF";
- OUString aStr = OUString( pHex[ nValue >> 12 ] )
- + OUString( pHex[ (nValue >> 8) & 0x000F ] )
- + OUString( pHex[ (nValue >> 4) & 0x000F ] )
- + OUString( pHex[ nValue & 0x000F ] );
+ OUString aStr = OUStringLiteral1( pHex[ nValue >> 12 ] )
+ + OUStringLiteral1( pHex[ (nValue >> 8) & 0x000F ] )
+ + OUStringLiteral1( pHex[ (nValue >> 4) & 0x000F ] )
+ + OUStringLiteral1( pHex[ nValue & 0x000F ] );
return aStr;
}