[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/koffice-change-tracking/libs/kotext/opendocument
From: Ganesh Paramasivam <ganesh () crystalfab ! com>
Date: 2010-11-29 7:44:22
Message-ID: 20101129074422.940EFAC8A3 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1201926 by ganeshp:
Remove the handling of insert-around-content under body. This scenario is not \
possible
M +0 -9 KoTextLoader.cpp
--- branches/work/koffice-change-tracking/libs/kotext/opendocument/KoTextLoader.cpp \
#1201925:1201926 @@ -433,7 +433,6 @@
loadDeleteChangeOutsidePorH(id, cursor);
usedParagraph = false;
} else if (localName == "p") { // text paragraph
- if (tag.attributeNS(KoXmlNS::delta, "insertion-type") != \
"insert-around-content") {
if (tag.attributeNS(KoXmlNS::split, "split001-idref") != \
"")
\
d->splitPositionMap.insert(tag.attributeNS(KoXmlNS::split, \
"split001-idref"),cursor.position());
@@ -453,11 +452,7 @@
if (tag.attributeNS(KoXmlNS::delta, "insertion-type") != \
"") d->closeChangeRegion(tag);
- } else {
- _node = loadTagTypeChanges(tag, cursor);
- }
} else if (localName == "h") { // heading
- if (tag.attributeNS(KoXmlNS::delta, "insertion-type") != \
"insert-around-content") {
if (tag.attributeNS(KoXmlNS::split, "split001-idref") != \
"")
\
d->splitPositionMap.insert(tag.attributeNS(KoXmlNS::split, \
"split001-idref"),cursor.position());
@@ -477,9 +472,6 @@
if (tag.attributeNS(KoXmlNS::delta, "insertion-type") != \
"") d->closeChangeRegion(tag);
- } else {
- _node = loadTagTypeChanges(tag, cursor);
- }
} else if (localName == "unordered-list" || localName == \
"ordered-list" // OOo-1.1
|| localName == "list" || localName == \
"numbered-paragraph") { // OASIS
if (tag.attributeNS(KoXmlNS::delta, "insertion-type") != "")
@@ -1487,7 +1479,6 @@
cursor.mergeCharFormat(format);
cursor.clearSelection();
}
-
return result;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic