diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-26 14:11:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-28 17:56:57 +0200 |
commit | 664f8632b1f4720475e6cb7176a08d3d204affd5 (patch) | |
tree | 7fa38edfc5afb8ea064007ef09ed6b9bc5a37bed /basegfx | |
parent | ef98596d62304d64d89b04de04c2bebff76286a0 (diff) |
loplugin:virtualdead in basegfx
Change-Id: I8b3f7810eb08b5217df30b7be27aafadeeed247a
Reviewed-on: https://gerrit.libreoffice.org/79647
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/tools/systemdependentdata.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/basegfx/source/tools/systemdependentdata.cxx b/basegfx/source/tools/systemdependentdata.cxx index 2c1c173eff96..6f1e789d16c8 100644 --- a/basegfx/source/tools/systemdependentdata.cxx +++ b/basegfx/source/tools/systemdependentdata.cxx @@ -77,7 +77,7 @@ namespace basegfx if(0 == mnCalculatedCycles) { const sal_Int64 nBytes(estimateUsageInBytes()); - const sal_uInt32 nSeconds(getHoldCyclesInSeconds()); + const sal_uInt32 nSeconds = 60; // HoldCyclesInSeconds // default is Seconds (minimal is one) sal_uInt32 nResult(0 == nSeconds ? 1 : nSeconds); @@ -115,12 +115,6 @@ namespace basegfx return mnCalculatedCycles; } - sal_uInt32 SystemDependentData::getHoldCyclesInSeconds() const - { - // default implementation returns 60(s) - return 60; - } - sal_Int64 SystemDependentData::estimateUsageInBytes() const { // default implementation has no idea |