sw/source/filter/ww8/ww8scan.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 87ed59d2b1261bd2e42c58c9a4663e19b8ec13a9 Author: Oliver-Rainer Wittmann <[email protected]> Date: Tue Jun 25 07:16:46 2013 +0000 WW8 import: adjust validation check for PLCF position arrays diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index 010a36d..6db4cf6 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -943,7 +943,7 @@ namespace { WW8_CP nValue = 0; for ( sal_Int32 i = 0; i <= nMaxIndex; ++i ) { - if ( pPLCFPosArray[i] < nValue ) + if ( pPLCFPosArray[i] != 0 && pPLCFPosArray[i] < nValue ) { bIsValid = false; break; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
