summaryrefslogtreecommitdiff
path: root/include/tools/bigint.hxx
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 /include/tools/bigint.hxx
parente710c1dbfb87a54d666752db1106b76e9e05ba43 (diff)
loplugin:simplifybool
Change-Id: Id1c743da4294b667438a2c075de4634bb2c85ff3
Diffstat (limited to 'include/tools/bigint.hxx')
-rw-r--r--include/tools/bigint.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/bigint.hxx b/include/tools/bigint.hxx
index cabff6bf0b59..ac0cb9297d56 100644
--- a/include/tools/bigint.hxx
+++ b/include/tools/bigint.hxx
@@ -114,7 +114,7 @@ public:
operator sal_uInt16() const;
operator sal_uIntPtr() const;
- void Set( bool bSet ) { bIsSet = bSet ? true : false; }
+ void Set( bool bSet ) { bIsSet = bSet; }
bool IsSet() const { return (bool)bIsSet; }
bool IsNeg() const;