diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-03 23:25:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-04 09:36:26 +0100 |
commit | c9fa7eef2f42f4c16dafe25c379d71c1d65a451e (patch) | |
tree | ac84662ff9c2fd348382febb9d74fe379d149d47 | |
parent | 4cb317df302272f55b46e8a0d02b036379f94ddd (diff) |
elide runtime conversion of constant to unicode
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 9ca85c76cc68..72c30181f8da 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -353,8 +353,8 @@ SvxAutoCorrect::SvxAutoCorrect( const String& rShareAutocorrFile, { nFlags = SvxAutoCorrect::GetDefaultFlags(); - cEmDash = ByteString::ConvertToUnicode( '\x97', RTL_TEXTENCODING_MS_1252 ); - cEnDash = ByteString::ConvertToUnicode( '\x96', RTL_TEXTENCODING_MS_1252 ); + cEmDash = 0x2014; + cEnDash = 0x2013; } SvxAutoCorrect::SvxAutoCorrect( const SvxAutoCorrect& rCpy ) |