DocFormat - bug 31338

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@67372 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
Elen.Subbotina
2016-01-12 10:25:16 +00:00
committed by Alexander Trofimov
parent 105220f566
commit 2005efd645
2 changed files with 6 additions and 3 deletions

View File

@ -571,7 +571,10 @@ namespace DocFileFormat
m_pXmlWriter->WriteNodeEnd( _T( "w:object" ) );
}
this->_skipRuns = 5;
if (search(f.begin(), f.end(), embed.begin(), embed.end()) != f.end() )
this->_skipRuns = 3;
else
this->_skipRuns = 5;
}
else
{