summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorLennard <Wasserthal@nefkom.net>2012-12-09 16:29:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-12-11 16:27:03 +0000
commitb44bf22ae9c1602d8ff38d90068f6e553dfdc7c5 (patch)
treeb71a7b30f87ef30b30727e1f3eb01d9e05088306 /writerfilter
parent4b96890c181a05d354cf09a315b70fc8f634f6c4 (diff)
docx import/export non-breaking hyphen and soft hyphen
God made non-breaking hyphen and saw that it was gone he told us to fix it as soon as hell we promised that we would Change-Id: I1d2bb8f7542f5ffec36fafdbdb07ace1cb62fb4a Signed-off-by: Lennard <Wasserthal@nefkom.net> Reviewed-on: https://gerrit.libreoffice.org/1279 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 1b0d9fa747c4a7fcdcd1c057bc2b31345f4bfe76) Signed-off-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index c6f03bbde0ef..37c33365a46a 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
@@ -44,8 +44,8 @@ static const sal_Unicode uFtnEdnRef = 0x2;
static const sal_Unicode uFtnEdnSep = 0x3;
static const sal_Unicode uTab = 0x9;
static const sal_Unicode uPgNum = 0x0;
-static const sal_Unicode uNoBreakHyphen = 0x1e;
-static const sal_Unicode uSoftHyphen = 0x1f;
+static const sal_Unicode uNoBreakHyphen = 0x2011;
+static const sal_Unicode uSoftHyphen = 0xAD;
static const sal_uInt8 cFtnEdnCont = 0x4;
static const sal_uInt8 cFieldStart = 0x13;