diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2012-03-18 19:59:55 +0100 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-03-18 15:33:56 -0500 |
commit | 0184afc2738ed506f3848723ef1ac0c86822957b (patch) | |
tree | ca4e1ae69020c072dc1691868a7907b5100874c8 /sw | |
parent | d1cc4bb69eb21b19c96fc0111611382b51a3d7ae (diff) |
Check iterator end WW8TableCellGrid
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/WW8TableInfo.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/WW8TableInfo.cxx b/sw/source/filter/ww8/WW8TableInfo.cxx index 6171430d5355..72993babe56a 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); |