sw/source/ui/config/optload.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 1122d513efbb3066b4e8aefbc8dc29ce7a7e9bcf Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue May 20 17:59:56 2014 +0200 loplugin:implicitboolconversion,literaltoboolconversion Change-Id: Ib783fd0557361286ce7b913a429c9ab8fc101c75 diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx index d4db9ff..af52de9 100644 --- a/sw/source/ui/config/optload.cxx +++ b/sw/source/ui/config/optload.cxx @@ -217,7 +217,7 @@ bool SwLoadOptPage::FillItemSet( SfxItemSet& rSet ) m_pShowStandardizedPageCount->IsChecked(), batch); batch->commit(); - bRet = sal_True; + bRet = true; } if (m_pStandardizedPageSizeNF->GetText() != m_pStandardizedPageSizeNF->GetSavedValue()) @@ -228,11 +228,11 @@ bool SwLoadOptPage::FillItemSet( SfxItemSet& rSet ) m_pStandardizedPageSizeNF->GetValue(), batch); batch->commit(); - bRet = sal_True; + bRet = true; } bool bIsSquaredPageModeFlag = m_pUseSquaredPageMode->IsChecked(); - if ( bIsSquaredPageModeFlag != m_pUseSquaredPageMode->GetSavedValue() ) + if ( bIsSquaredPageModeFlag != static_cast<bool>(m_pUseSquaredPageMode->GetSavedValue()) ) { pMod->ApplyDefaultPageMode( bIsSquaredPageModeFlag ); if ( m_pWrtShell ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits