summaryrefslogtreecommitdiff
path: root/vcl/source/filter/ixpm/xpmread.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-24 12:34:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-24 12:36:31 +0200
commita9a4d46ce74fc3c4ff1b7399ea6be6ffeeeb8863 (patch)
treef44261f69c3c6c5cb13095d092ea538a8d47a5e0 /vcl/source/filter/ixpm/xpmread.cxx
parent9796e52ab3bbf64fa751c71e695c64d6215e1df6 (diff)
loplugin:simplifybool
Change-Id: I8276e8b356ff26241613de64bcd90b5dbcd92f29
Diffstat (limited to 'vcl/source/filter/ixpm/xpmread.cxx')
-rw-r--r--vcl/source/filter/ixpm/xpmread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/ixpm/xpmread.cxx b/vcl/source/filter/ixpm/xpmread.cxx
index 338069b0b2b1..6d7646c827f3 100644
--- a/vcl/source/filter/ixpm/xpmread.cxx
+++ b/vcl/source/filter/ixpm/xpmread.cxx
@@ -398,7 +398,7 @@ bool XPMReader::ImplGetColKey( sal_uInt8 nKey )
}
}
}
- return ( mnParaSize ) ? true : false;
+ return mnParaSize != 0;
}
// ImplGetRGBHex translates the ASCII-Hexadecimalvalue belonging to mpPara