Commit b6781c03 authored by konovalovsergey's avatar konovalovsergey

for bug 33424

parent 1e8a65c2
......@@ -140,8 +140,8 @@ namespace OOX
virtual void toXML(NSStringUtils::CStringBuilder& writer) const
{
writer.WriteString(_T("<xdr:ext"));
WritingStringNullableAttrInt64(L"cx", m_oCx, m_oCx->GetValue());
WritingStringNullableAttrInt64(L"cy", m_oCy, m_oCy->GetValue());
WritingStringNullableAttrInt64(L"cx", m_oCx, m_oCx->ToEmu());
WritingStringNullableAttrInt64(L"cy", m_oCy, m_oCy->ToEmu());
writer.WriteString(_T("/>"));
}
virtual void fromXML(XmlUtils::CXmlLiteReader& oReader)
......@@ -175,4 +175,4 @@ namespace OOX
} //Spreadsheet
} // namespace OOX
#endif // OOX_FROMTO_FILE_INCLUDE_H_
\ No newline at end of file
#endif // OOX_FROMTO_FILE_INCLUDE_H_
......@@ -60,8 +60,8 @@ namespace OOX
virtual void toXML(NSStringUtils::CStringBuilder& writer) const
{
writer.WriteString(_T("<xdr:pos"));
WritingStringNullableAttrInt64(L"x", m_oX, m_oX->GetValue());
WritingStringNullableAttrInt64(L"y", m_oY, m_oY->GetValue());
WritingStringNullableAttrInt64(L"x", m_oX, m_oX->ToEmu());
WritingStringNullableAttrInt64(L"y", m_oY, m_oY->ToEmu());
writer.WriteString(_T("/>"));
}
virtual void fromXML(XmlUtils::CXmlLiteReader& oReader)
......@@ -95,4 +95,4 @@ namespace OOX
} //Spreadsheet
} // namespace OOX
#endif // OOX_POS_FILE_INCLUDE_H_
\ No newline at end of file
#endif // OOX_POS_FILE_INCLUDE_H_
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