summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-07 09:09:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-07 12:48:39 +0200
commit911282cfbbc8615d8f2e25ad932c8c34d8217b33 (patch)
tree6e5a37c33b94fad9b76ab698fb871ca93adec793 /basegfx
parent0c63e74737d3baaca96431cba1bbfcc445ff8056 (diff)
cid#1454631 Logically dead code
Change-Id: Ie2850a38db3d2e343d9fc19e245eb97238196110 Reviewed-on: https://gerrit.libreoffice.org/80339 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/tools/systemdependentdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/tools/systemdependentdata.cxx b/basegfx/source/tools/systemdependentdata.cxx
index 6f1e789d16c8..223b607ffae0 100644
--- a/basegfx/source/tools/systemdependentdata.cxx
+++ b/basegfx/source/tools/systemdependentdata.cxx
@@ -109,7 +109,7 @@ namespace basegfx
}
// set locally (once, on-demand created, non-zero)
- const_cast<SystemDependentData*>(this)->mnCalculatedCycles = nResult < 1 ? 1 : nResult;
+ const_cast<SystemDependentData*>(this)->mnCalculatedCycles = nResult;
}
return mnCalculatedCycles;