Kaydet (Commit) 0100280a authored tarafından Cédric Bosdonnat's avatar Cédric Bosdonnat

fdo#43862: reintroduce fo:margin-* on top of fo:margin for backward compat

üst 41cd78b8
...@@ -151,14 +151,8 @@ void XMLPropertyStateBuffer::ContextFilter( ::std::vector< XMLPropertyState >& ) ...@@ -151,14 +151,8 @@ void XMLPropertyStateBuffer::ContextFilter( ::std::vector< XMLPropertyState >& )
pPMMarginLeft->maValue >>= nLeft; pPMMarginLeft->maValue >>= nLeft;
pPMMarginRight->maValue >>= nRight; pPMMarginRight->maValue >>= nRight;
if ((nTop == nBottom) && (nBottom == nLeft) && (nLeft == nRight)) // Don't remove the Margin Left,Right,Top,Bottom for backward compatibility
{ if ((nTop != nBottom) || (nBottom != nLeft) || (nLeft != nRight))
lcl_RemoveState( pPMMarginTop );
lcl_RemoveState( pPMMarginBottom );
lcl_RemoveState( pPMMarginLeft );
lcl_RemoveState( pPMMarginRight );
}
else
lcl_RemoveState( pPMMarginAll ); lcl_RemoveState( pPMMarginAll );
} }
else else
......
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