Kaydet (Commit) 6e8a81e5 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

More loplugin:simplifybool

Change-Id: I4d4df3a845d7a3af7d18dc58d35ebf5cd967b7eb
üst 8c1d444c
......@@ -576,7 +576,7 @@ ParaPortion::~ParaPortion()
void ParaPortion::MarkInvalid( sal_Int32 nStart, sal_Int32 nDiff )
{
if ( bInvalid == false )
if ( !bInvalid )
{
// nInvalidPosEnd = nStart; // ??? => CreateLines
nInvalidPosStart = ( nDiff >= 0 ) ? nStart : ( nStart + nDiff );
......@@ -612,7 +612,7 @@ void ParaPortion::MarkInvalid( sal_Int32 nStart, sal_Int32 nDiff )
void ParaPortion::MarkSelectionInvalid( sal_Int32 nStart, sal_Int32 /* nEnd */ )
{
if ( bInvalid == false )
if ( !bInvalid )
{
nInvalidPosStart = nStart;
// nInvalidPosEnd = nEnd;
......
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