summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 15:27:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-27 15:30:54 +0200
commit6e8a81e564f5c64e8aac402ed58b2ec3dadb33a9 (patch)
tree70a2c55431f91119f3b280b7af9526ebe0ba5669 /editeng
parent8c1d444c73ada5c770b2977d512eb0d50622e1bb (diff)
More loplugin:simplifybool
Change-Id: I4d4df3a845d7a3af7d18dc58d35ebf5cd967b7eb
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editdoc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index c8f5f3d2412e..33ea25b6e134 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -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;