summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-12 21:24:45 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-12 21:24:45 +0300
commitcb8183d44c7dc40afd9fa86070adb96310e6fffd (patch)
treee16e55933eac1472aa57258ae90c37d9baf0e773 /svl
parenteca81d9969e232b1236bc5020ab2b9304d5f4640 (diff)
Simplify and avoid use of UNX
Change-Id: Ia1f718341858de57d0e417d079981d91968f912b
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zforlist.cxx22
1 files changed, 7 insertions, 15 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 6c731e7dabd4..c672b5ec2cb9 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -4434,25 +4434,17 @@ sal_Char NfCurrencyEntry::GetEuroSymbol( rtl_TextEncoding eTextEncoding )
{
switch ( eTextEncoding )
{
- case RTL_TEXTENCODING_MS_1252 : // WNT Ansi
- case RTL_TEXTENCODING_ISO_8859_1 : // UNX for use with TrueType fonts
+ case RTL_TEXTENCODING_MS_1252 :
+ case RTL_TEXTENCODING_ISO_8859_1 :
return '\x80';
- case RTL_TEXTENCODING_ISO_8859_15 : // UNX real
+ case RTL_TEXTENCODING_ISO_8859_15 :
return '\xA4';
- case RTL_TEXTENCODING_IBM_850 : // OS2
+ case RTL_TEXTENCODING_IBM_850 :
return '\xD5';
- case RTL_TEXTENCODING_APPLE_ROMAN : // MAC
+ case RTL_TEXTENCODING_APPLE_ROMAN :
return '\xDB';
- default: // default system
-#if defined(WNT)
- return '\x80';
-#elif defined(UNX)
-// return '\xA4'; // #56121# 0xA4 would be correct for iso-8859-15
- return '\x80'; // but Windows code for the converted TrueType fonts
-#else
-#error EuroSymbol is what?
- return '\x80';
-#endif
+ default:
+ return '\x80'; // Windows code for the converted TrueType fonts (whatever that means)
}
}