Kaydet (Commit) 1122d513 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:implicitboolconversion,literaltoboolconversion

Change-Id: Ib783fd0557361286ce7b913a429c9ab8fc101c75
üst 1c9ba8a8
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment