diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:33:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:29 +0200 |
commit | 746a717ed4648cd6c0d0d810a90a6539373b130c (patch) | |
tree | a1a2b3a3df4f968ccc98423a5b163d4b366b4c16 /sw/source/filter/ww8/wrtw8nds.cxx | |
parent | loplugin:simplifybool (diff) | |
download | core-746a717ed4648cd6c0d0d810a90a6539373b130c.tar.gz core-746a717ed4648cd6c0d0d810a90a6539373b130c.zip |
loplugin:simplifybool
Change-Id: Ic90d247e6c8e36e27ff444ace10fd37e06d46b50
Diffstat (limited to 'sw/source/filter/ww8/wrtw8nds.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtw8nds.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index 0edd7db5d902..d787258fce1c 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -2639,9 +2639,8 @@ void MSWordExportBase::OutputTextNode( const SwTxtNode& rNode ) const SwTable& rTable = pTableNode->GetTable(); const SvxFmtKeepItem& rKeep = rTable.GetFrmFmt()->GetKeep(); const bool bKeep = rKeep.GetValue(); - const bool bDontSplit = !bKeep ? - !rTable.GetFrmFmt()->GetLayoutSplit().GetValue() : - false; + const bool bDontSplit = !(bKeep || + rTable.GetFrmFmt()->GetLayoutSplit().GetValue()); if ( bKeep || bDontSplit ) { |