summaryrefslogtreecommitdiff
path: root/tools/source/generic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-24 12:34:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-24 12:36:30 +0200
commit877fe59c4e398e6b9b2d4a8ea9904a59203fcd26 (patch)
tree994862eeb0bb57dcc39316110c98aa6dfc31b467 /tools/source/generic
parente710c1dbfb87a54d666752db1106b76e9e05ba43 (diff)
loplugin:simplifybool
Change-Id: Id1c743da4294b667438a2c075de4634bb2c85ff3
Diffstat (limited to 'tools/source/generic')
-rw-r--r--tools/source/generic/bigint.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/generic/bigint.cxx b/tools/source/generic/bigint.cxx
index fd21f55a8270..ff8ea889a4e3 100644
--- a/tools/source/generic/bigint.cxx
+++ b/tools/source/generic/bigint.cxx
@@ -507,7 +507,7 @@ BigInt::BigInt( const OUString& rString )
p++;
}
if ( bIsBig )
- bIsNeg = bNeg ? true : false;
+ bIsNeg = bNeg;
else if( bNeg )
nVal = -nVal;
}