[PATCH] fdo#32773 LibO thinks comments separate words
Gerrit
gerrit at gerrit.libreoffice.org
Sat Jul 14 13:05:59 PDT 2012
>From Muhammad Haggag <mhaggag at gmail.com>:
Muhammad Haggag has uploaded a new change for review.
Change subject: fdo#32773 LibO thinks comments separate words
......................................................................
fdo#32773 LibO thinks comments separate words
Commments are represented by post-it note fields. When a comment is inserted, a marker character (CH_TXTATR_INWORD = 0x2) is inserted in the text node. This marker is not a word character, so it results in splitting any word it's inserted into.
This change updates SwTxtNode::BuildConversionMap so that it eliminates post-it note field markers when expanding strings. It also updates the ModelToViewHelper functions to work properly with the new change, since it's now possible for expanded strings to be smaller than the original node text.
Change-Id: Ia516e6b612becb2dfc2a5922306b89e2d8dd65d3
---
M sw/source/core/txtnode/modeltoviewhelper.cxx
M sw/source/core/txtnode/ndtxt.cxx
2 files changed, 35 insertions(+), 6 deletions(-)
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/11/311/1
--
To view, visit https://gerrit.libreoffice.org/311
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia516e6b612becb2dfc2a5922306b89e2d8dd65d3
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Muhammad Haggag <mhaggag at gmail.com>
More information about the LibreOffice
mailing list