[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Wed Feb 19 13:26:46 CET 2014
sc/source/ui/dbgui/tpsort.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 65c7200d7834a57758eeffeea770858d22f27e95
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Feb 19 13:26:00 2014 +0100
loplugin:implicitboolconversion
Change-Id: I89d2bd21c11e07e645d270f9735664d06403b7d2
diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx
index 3ee92af..1a15e6e 100644
--- a/sc/source/ui/dbgui/tpsort.cxx
+++ b/sc/source/ui/dbgui/tpsort.cxx
@@ -776,7 +776,7 @@ void ScTabPageSortOptions::ActivatePage( const SfxItemSet& rSet )
aSortData = static_cast<const ScSortItem&>(rSet.Get( SCITEM_SORTDATA )).GetSortData();
if ( pDlg )
{
- if ( m_pBtnHeader->IsChecked() != (pDlg->GetHeaders() ? 1 : 0) )
+ if ( m_pBtnHeader->IsChecked() != pDlg->GetHeaders() )
{
m_pBtnHeader->Check( pDlg->GetHeaders() );
}
More information about the Libreoffice-commits
mailing list