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/rtfattributeoutput.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/rtfattributeoutput.cxx')
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 6290ae0bd061..f2e554f1dde2 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -2218,7 +2218,7 @@ void RtfAttributeOutput::CharUnderline(const SvxUnderlineItem& rUnderline) const SfxPoolItem* pItem = m_rExport.HasItem(RES_CHRATR_WORDLINEMODE); bool bWord = false; if (pItem) - bWord = static_cast<const SvxWordLineModeItem*>(pItem)->GetValue() ? true : false; + bWord = static_cast<const SvxWordLineModeItem*>(pItem)->GetValue(); switch (rUnderline.GetLineStyle()) { case UNDERLINE_SINGLE: |