Commit 2c4bb7c8 authored by konovalovsergey's avatar konovalovsergey

for bug 34498. ULong

parent 15a71139
...@@ -6689,7 +6689,7 @@ public: ...@@ -6689,7 +6689,7 @@ public:
else if ( c_oSerImageType2::RelativeHeight == type ) else if ( c_oSerImageType2::RelativeHeight == type )
{ {
pDrawingProperty->bRelativeHeight = true; pDrawingProperty->bRelativeHeight = true;
pDrawingProperty->RelativeHeight = m_oBufferedStream.GetLong(); pDrawingProperty->RelativeHeight = m_oBufferedStream.GetULong();
} }
else if ( c_oSerImageType2::BSimplePos == type ) else if ( c_oSerImageType2::BSimplePos == type )
{ {
......
...@@ -5651,7 +5651,7 @@ namespace BinDocxRW ...@@ -5651,7 +5651,7 @@ namespace BinDocxRW
{ {
m_oBcw.m_oStream.WriteBYTE(c_oSerImageType2::RelativeHeight); m_oBcw.m_oStream.WriteBYTE(c_oSerImageType2::RelativeHeight);
m_oBcw.m_oStream.WriteBYTE(c_oSerPropLenType::Long); m_oBcw.m_oStream.WriteBYTE(c_oSerPropLenType::Long);
m_oBcw.m_oStream.WriteLONG(pAnchor.m_oRelativeHeight->GetValue()); m_oBcw.m_oStream.WriteULONG(pAnchor.m_oRelativeHeight->GetValue());
} }
if(pAnchor.m_bSimplePos.IsInit()) if(pAnchor.m_bSimplePos.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