sw/source/filter/ww8/WW8TableInfo.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
New commits: commit 0184afc2738ed506f3848723ef1ac0c86822957b Author: Arnaud Versini <arnaud.vers...@gmail.com> Date: Sun Mar 18 19:59:55 2012 +0100 Check iterator end WW8TableCellGrid diff --git a/sw/source/filter/ww8/WW8TableInfo.cxx b/sw/source/filter/ww8/WW8TableInfo.cxx index 6171430..72993ba 100644 --- a/sw/source/filter/ww8/WW8TableInfo.cxx +++ b/sw/source/filter/ww8/WW8TableInfo.cxx @@ -1171,9 +1171,11 @@ void WW8TableCellGrid::addShadowCells() } ++aCellIt; - - bBeginningOfCell = (aRect.Left() != aCellIt->left()); - aRect = aCellIt->getRect(); + if (aCellIt != aCellEndIt) + { + bBeginningOfCell = (aRect.Left() != aCellIt->left()); + aRect = aCellIt->getRect(); + } } WW8TableCellGridRow::Pointer_t pRow = getRow(*aTopsIt); _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits