summaryrefslogtreecommitdiff
path: root/include/basegfx/utils
diff options
context:
space:
mode:
authorArmin Le Grand (allotropia) <armin.le.grand.extern@allotropia.de>2022-10-19 14:40:57 +0200
committerArmin Le Grand <Armin.Le.Grand@me.com>2022-10-19 16:27:17 +0200
commit0644543097dc1ff739000d865988dcb2fd5e4c9d (patch)
tree9512c73eb7a3466f1e38208a277287053252cd23 /include/basegfx/utils
parentf3a82a8ba51195cf31b0f78164735acc7ebbcd2f (diff)
Allow read-access to CombinedHoldCyclesInSeconds for checks
Change-Id: I2685343bd5e0e7c10438274c0a38798e09d813e5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141530 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'include/basegfx/utils')
-rw-r--r--include/basegfx/utils/systemdependentdata.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/basegfx/utils/systemdependentdata.hxx b/include/basegfx/utils/systemdependentdata.hxx
index 6778fa967e61..9304153c1327 100644
--- a/include/basegfx/utils/systemdependentdata.hxx
+++ b/include/basegfx/utils/systemdependentdata.hxx
@@ -78,6 +78,10 @@ namespace basegfx
// mnCalculatedCycles
sal_uInt32 calculateCombinedHoldCyclesInSeconds() const;
+ // Allow read access to the calculated cycles in seconds, this
+ // can be e.g. used to determine if this instance got added
+ sal_uInt32 getCombinedHoldCyclesInSeconds() const { return mnCalculatedCycles; }
+
// Size estimation of the entry in bytes - does not have to
// be used, but should be. Default returns zero what
// means there is no size estimation available. Override to