Commit 89c9d2f2 authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

fix wordart_button.doc

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63645 954022d7-b5bf-4e40-9824-e11837661b57
parent 97d051ed
......@@ -44,7 +44,19 @@ namespace DocFileFormat
m_3dstyle = XMLTools::XMLElement<wchar_t>(_T("o:extrusion"));
m_textpath = XMLTools::XMLElement<wchar_t>(_T("v:textpath"));
Record* recBs = m_ctx->_doc->GetOfficeArt()->GetDrawingGroup()->FirstChildWithType<BlipStoreContainer>();
Record* recBs = NULL;
if ((m_ctx) && (m_ctx->_doc))
{
OfficeArtContent* officeArt = m_ctx->_doc->GetOfficeArt();
if (officeArt)
{
const DrawingGroup* group = officeArt->GetDrawingGroup();
if (group)
{
recBs = group->FirstChildWithType<BlipStoreContainer>();
}
}
}
if (recBs)
{
......
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