include/basegfx/utils/systemdependentdata.hxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 0644543097dc1ff739000d865988dcb2fd5e4c9d
Author:     Armin Le Grand (allotropia) <armin.le.grand.ext...@allotropia.de>
AuthorDate: Wed Oct 19 14:40:57 2022 +0200
Commit:     Armin Le Grand <armin.le.gr...@me.com>
CommitDate: Wed Oct 19 16:27:17 2022 +0200

    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.gr...@me.com>

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

Reply via email to