summaryrefslogtreecommitdiff
path: root/basegfx/source/matrix
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-19 10:26:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-19 12:53:42 +0200
commit3d8400a8d938be7b116298d6a79bb49d7cc0cc99 (patch)
treec1ae099e540025c1dfa7e6d62f6f6d9e5ce90c12 /basegfx/source/matrix
parent2e51afc77c0800dda6c09bb645d8962ae125b2ba (diff)
loplugin:comparisonwithconstant in accessibility..basegfx
re-running this plugin on these modules now that sberg has improved the plugin. Change-Id: I1818b1fa540cf62b81219a4f3ed2dcae8ff0e838 Reviewed-on: https://gerrit.libreoffice.org/37805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx/source/matrix')
-rw-r--r--basegfx/source/matrix/b3dhommatrix.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/matrix/b3dhommatrix.cxx b/basegfx/source/matrix/b3dhommatrix.cxx
index 919a00c9fb50..1a88c8b5c777 100644
--- a/basegfx/source/matrix/b3dhommatrix.cxx
+++ b/basegfx/source/matrix/b3dhommatrix.cxx
@@ -390,7 +390,7 @@ namespace basegfx
return false;
// If determinant is zero, decomposition is not possible
- if(0.0 == determinant())
+ if(determinant() == 0.0)
return false;
// isolate translation