[Libreoffice-commits] core.git: basegfx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Oct 7 10:49:35 UTC 2019
basegfx/source/tools/systemdependentdata.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 911282cfbbc8615d8f2e25ad932c8c34d8217b33
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Oct 7 09:09:01 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Oct 7 12:48:39 2019 +0200
cid#1454631 Logically dead code
Change-Id: Ie2850a38db3d2e343d9fc19e245eb97238196110
Reviewed-on: https://gerrit.libreoffice.org/80339
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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;
More information about the Libreoffice-commits
mailing list