summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-20 17:59:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-20 17:59:56 +0200
commit1122d513efbb3066b4e8aefbc8dc29ce7a7e9bcf (patch)
treee593f77dfc82f27b324254a9799c377061148ed9 /sw
parent1c9ba8a81ca3b92e8fd684b4c16a06b5180ceb64 (diff)
loplugin:implicitboolconversion,literaltoboolconversion
Change-Id: Ib783fd0557361286ce7b913a429c9ab8fc101c75
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/config/optload.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index d4db9ff63daf..af52de99b9d4 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 )