ofz#18116 Timeout
Change-Id: If0bf63bacf9b5f7502287b1e465a34806d18b874 Reviewed-on: https://gerrit.libreoffice.org/80641 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -526,17 +526,21 @@ void HWPFile::AddParaShape(std::shared_ptr<ParaShape> const & pshape)
|
||||
}
|
||||
}
|
||||
if( nscount )
|
||||
{
|
||||
pshape->tabs[MAXTABS-1].type = sal::static_int_cast<char>(nscount);
|
||||
pshape->index = ++pcount;
|
||||
pslist.push_back(pshape);
|
||||
return;
|
||||
}
|
||||
|
||||
int value = compareParaShape(pshape.get());
|
||||
|
||||
if( value == 0 || nscount )
|
||||
if (value == 0)
|
||||
{
|
||||
pshape->index = ++pcount;
|
||||
pslist.push_back(pshape);
|
||||
return;
|
||||
}
|
||||
else
|
||||
pshape->index = value;
|
||||
pshape->index = value;
|
||||
}
|
||||
|
||||
void HWPFile::AddCharShape(std::shared_ptr<CharShape> const & cshape)
|
||||
|
Reference in New Issue
Block a user