Kaydet (Commit) 894406e6 authored tarafından Miklos Vajna's avatar Miklos Vajna

RTFFrame::getSprms: Id is a number, not an instance

üst 077e711b
...@@ -3534,10 +3534,10 @@ RTFSprms RTFFrame::getSprms() ...@@ -3534,10 +3534,10 @@ RTFSprms RTFFrame::getSprms()
for ( int i = 0, len = SAL_N_ELEMENTS(pNames); i < len; ++i ) for ( int i = 0, len = SAL_N_ELEMENTS(pNames); i < len; ++i )
{ {
Id aId = pNames[i]; Id nId = pNames[i];
RTFValue::Pointer_t pValue; RTFValue::Pointer_t pValue;
switch ( aId ) switch ( nId )
{ {
case NS_ooxml::LN_CT_FramePr_x: case NS_ooxml::LN_CT_FramePr_x:
if ( nX != 0 ) if ( nX != 0 )
...@@ -3596,7 +3596,7 @@ RTFSprms RTFFrame::getSprms() ...@@ -3596,7 +3596,7 @@ RTFSprms RTFFrame::getSprms()
} }
if (pValue.get()) if (pValue.get())
sprms->push_back(make_pair(aId, pValue)); sprms->push_back(make_pair(nId, pValue));
} }
RTFSprms frameprSprms; RTFSprms frameprSprms;
......
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