diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-06-18 16:09:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-06-18 16:09:40 +0200 |
commit | 0e1c9b0a47fb45e4439e55cb48a6dd7024218dc9 (patch) | |
tree | 07dec8347fa80ebd4b231146f06ae922efc6b027 /writerfilter | |
parent | d1556eefd9fd587a0bf2f7a42304654b00a376d9 (diff) |
-Werror=maybe-uninitialized
Change-Id: Ic2011b6c3db44d12c0dc883019d2d532bbda467b
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx index 0d14f8d16ab9..c371c9a52fb4 100644 --- a/writerfilter/source/dmapper/DomainMapper.cxx +++ b/writerfilter/source/dmapper/DomainMapper.cxx @@ -1513,8 +1513,7 @@ static bool ExchangeLeftRight( const PropertyMapPtr rContext ) if( aPropParaIte != rContext->end()) { sal_Int32 aAdjust ; - aPropParaIte->second >>= aAdjust; - if( aAdjust == text::WritingMode2::RL_TB ) + if( (aPropParaIte->second >>= aAdjust) && aAdjust == text::WritingMode2::RL_TB ) bExchangeLeftRight = true; } return bExchangeLeftRight; |