Kaydet (Commit) 0e1c9b0a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror=maybe-uninitialized

Change-Id: Ic2011b6c3db44d12c0dc883019d2d532bbda467b
üst d1556eef
...@@ -1513,8 +1513,7 @@ static bool ExchangeLeftRight( const PropertyMapPtr rContext ) ...@@ -1513,8 +1513,7 @@ static bool ExchangeLeftRight( const PropertyMapPtr rContext )
if( aPropParaIte != rContext->end()) if( aPropParaIte != rContext->end())
{ {
sal_Int32 aAdjust ; sal_Int32 aAdjust ;
aPropParaIte->second >>= aAdjust; if( (aPropParaIte->second >>= aAdjust) && aAdjust == text::WritingMode2::RL_TB )
if( aAdjust == text::WritingMode2::RL_TB )
bExchangeLeftRight = true; bExchangeLeftRight = true;
} }
return bExchangeLeftRight; return bExchangeLeftRight;
......
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