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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Sun Nov 15 16:16:36 UTC 2020


 vcl/inc/osx/salobj.h |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

New commits:
commit dc98b788de62ddb25d779e2da3df9a6b539f688f
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Nov 12 15:00:17 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sun Nov 15 17:15:53 2020 +0100

    CGFloat appears to be a more suitable type for these AquaSalObject members
    
    ...interacting with NS data structures and functions
    
    Change-Id: I0a8aa8b0d0a2a1218c060e1b92c7624fd176d43f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105753
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/vcl/inc/osx/salobj.h b/vcl/inc/osx/salobj.h
index 17f5374d1652..144c1cb069a1 100644
--- a/vcl/inc/osx/salobj.h
+++ b/vcl/inc/osx/salobj.h
@@ -38,16 +38,16 @@ public:
     NSClipView*                 mpClipView;
     SystemEnvData               maSysData;
 
-    long                        mnClipX;
-    long                        mnClipY;
-    long                        mnClipWidth;
-    long                        mnClipHeight;
+    CGFloat                     mnClipX;
+    CGFloat                     mnClipY;
+    CGFloat                     mnClipWidth;
+    CGFloat                     mnClipHeight;
     bool                        mbClip;
 
-    long                        mnX;
-    long                        mnY;
-    long                        mnWidth;
-    long                        mnHeight;
+    CGFloat                     mnX;
+    CGFloat                     mnY;
+    CGFloat                     mnWidth;
+    CGFloat                     mnHeight;
 
     void setClippedPosSize();
 


More information about the Libreoffice-commits mailing list