diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-03-01 17:21:34 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-03-01 17:26:55 +0100 |
commit | e453c5f0b9b85a9d77629efde89e499cfcd9a1db (patch) | |
tree | d2ab0e137d5d90ccecd64b573dfa03489634ba65 | |
parent | c1e7fc6f497d7570cb0832c43647d295f8592567 (diff) |
sw: remove some more hardcoded 1 with TRISTATE_TRUE
Change-Id: I8cc89c66eb1c3f09e02ba312e6ea8c9379ff8a4d
-rw-r--r-- | sw/source/ui/table/tabledlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index 611a2ce8152a..a2c73a8c452e 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -1416,8 +1416,8 @@ bool SwTextFlowPage::FillItemSet( SfxItemSet* rSet ) } bool bIsChecked = m_pPgBrkCB->IsChecked(); if ( !bPageItemPut && - ( bState != (m_pPageCollCB->GetSavedValue() == 1) || - bIsChecked != (m_pPgBrkCB->GetSavedValue() ==1) || + ( bState != (m_pPageCollCB->GetSavedValue() == TRISTATE_TRUE) || + bIsChecked != (m_pPgBrkCB->GetSavedValue() == TRISTATE_TRUE) || m_pPgBrkBeforeRB->IsValueChangedFromSaved() || m_pPgBrkRB->IsValueChangedFromSaved() )) { |