[Libreoffice-commits] core.git: vcl/osx

Jan-Marek Glogowski glogow at fbihome.de
Thu Sep 28 13:35:10 UTC 2017


 vcl/osx/saltimer.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4a15820fec68afdbe33de78e33dc1ed62b0e36f3
Author: Jan-Marek Glogowski <glogow at fbihome.de>
Date:   Thu Sep 28 15:30:48 2017 +0200

    tdf#112288 set timestamp for otherEventWithType
    
    In otherEventWithType we have to set the timestamp manually to the
    current uptime, and can't default to 0.
    
    Change-Id: I3e96dff38ea81b0e6744fa175fc3a169e160b982

diff --git a/vcl/osx/saltimer.cxx b/vcl/osx/saltimer.cxx
index e442fcf05335..3667fd5dd3f5 100644
--- a/vcl/osx/saltimer.cxx
+++ b/vcl/osx/saltimer.cxx
@@ -40,7 +40,7 @@ SAL_WNODEPRECATED_DECLARATIONS_PUSH
 SAL_WNODEPRECATED_DECLARATIONS_POP
                                location: NSZeroPoint
                                modifierFlags: 0
-                               timestamp: 0
+                               timestamp: [[NSProcessInfo processInfo] systemUptime]
                                windowNumber: 0
                                context: nil
                                subtype: nEventId


More information about the Libreoffice-commits mailing list