[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/koffice-change-tracking/plugins/textshape/commands
From: Ganesh Paramasivam <ganesh () crystalfab ! com>
Date: 2010-11-18 5:51:39
Message-ID: 20101118055139.5D8CCAC8A1 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1198295 by ganeshp:
Fixing a crash in Hide-Changes when dealing with a table containing either a \
deleted-row or a deleted-column
M +1 -1 ShowChangesCommand.cpp
--- branches/work/koffice-change-tracking/plugins/textshape/commands/ShowChangesCommand.cpp \
#1198294:1198295 @@ -172,7 +172,7 @@
qSort(elementVector.begin(), elementVector.end(), isPositionLessThan);
foreach(KoChangeTrackerElement *element, elementVector) {
- if (element->isValid()) {
+ if (element->isValid() && element->getDeleteChangeMarker()) {
QTextCursor caret(element->getDeleteChangeMarker()->document());
QTextCharFormat f;
int deletePosition = element->getDeleteChangeMarker()->position() + 1 - \
numDeletedChars;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic