Commit 1e47dc11 authored by ElenaSubbotina's avatar ElenaSubbotina

.

parent d3f4a212
...@@ -534,10 +534,10 @@ bool OOXShapeReader::ParseVmlChild( ReaderParameter oParam , RtfShapePtr& pOutpu ...@@ -534,10 +534,10 @@ bool OOXShapeReader::ParseVmlChild( ReaderParameter oParam , RtfShapePtr& pOutpu
OOX::VmlOffice::CSignatureLine *signature = dynamic_cast<OOX::VmlOffice::CSignatureLine*>(m_arrElement->m_arrItems[i]); OOX::VmlOffice::CSignatureLine *signature = dynamic_cast<OOX::VmlOffice::CSignatureLine*>(m_arrElement->m_arrItems[i]);
if ( signature ) if ( signature )
{ {
if (signature->m_oIsSignatureLine.GetValue() == SimpleTypes::booleanTrue) if (signature->m_oIsSignatureLine.IsInit() && signature->m_oIsSignatureLine->ToBool())
pOutput->m_bIsSignatureLine = 1; pOutput->m_bIsSignatureLine = 1;
if (signature->m_oAllowComments.GetValue() == SimpleTypes::booleanTrue) if (signature->m_oAllowComments.IsInit() && signature->m_oAllowComments->ToBool())
pOutput->m_bSigSetupAllowComments = 1; pOutput->m_bSigSetupAllowComments = 1;
if (signature->m_oProvId.IsInit()) if (signature->m_oProvId.IsInit())
......
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