Kaydet (Commit) 87ed59d2 authored tarafından Oliver-Rainer Wittmann's avatar Oliver-Rainer Wittmann

WW8 import: adjust validation check for PLCF position arrays

üst 8d5b2eda
...@@ -943,7 +943,7 @@ namespace { ...@@ -943,7 +943,7 @@ namespace {
WW8_CP nValue = 0; WW8_CP nValue = 0;
for ( sal_Int32 i = 0; i <= nMaxIndex; ++i ) for ( sal_Int32 i = 0; i <= nMaxIndex; ++i )
{ {
if ( pPLCFPosArray[i] < nValue ) if ( pPLCFPosArray[i] != 0 && pPLCFPosArray[i] < nValue )
{ {
bIsValid = false; bIsValid = false;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment