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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Feb 12 09:43:00 UTC 2019


 sw/inc/pvprtdat.hxx |   27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

New commits:
commit de1a23288ff6e4d7228fd8d7920b37b570df8f9a
Author:     Komal <komalbharadiya at gmail.com>
AuthorDate: Sat Jan 12 08:16:18 2019 +0530
Commit:     Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Tue Feb 12 10:42:37 2019 +0100

    tdf#114441,Change in the data type to sal_Int32
    
    Change-Id: I962d3d9f5fcb95c7f2b19169ca87b262ed320279
    Reviewed-on: https://gerrit.libreoffice.org/66203
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>

diff --git a/sw/inc/pvprtdat.hxx b/sw/inc/pvprtdat.hxx
index a559257d6b4d..57a950af32ae 100644
--- a/sw/inc/pvprtdat.hxx
+++ b/sw/inc/pvprtdat.hxx
@@ -24,7 +24,8 @@
 
 class SwPagePreviewPrtData
 {
-    sal_uLong nLeftSpace, nRightSpace, nTopSpace, nBottomSpace,
+
+    sal_Int32 nLeftSpace, nRightSpace, nTopSpace, nBottomSpace,
             nHorzSpace, nVertSpace;
     sal_uInt8 nRow, nCol;
     bool bLandscape : 1;
@@ -35,23 +36,23 @@ public:
             bLandscape(false)
     {}
 
-    sal_uLong GetLeftSpace() const          { return nLeftSpace; }
-    void SetLeftSpace( sal_uLong n )        { nLeftSpace = n; }
+    sal_Int32 GetLeftSpace() const          { return nLeftSpace; }
+    void SetLeftSpace( sal_Int32 n )        { nLeftSpace = n; }
 
-    sal_uLong GetRightSpace() const         { return nRightSpace; }
-    void SetRightSpace( sal_uLong n )       { nRightSpace = n; }
+    sal_Int32 GetRightSpace() const         { return nRightSpace; }
+    void SetRightSpace( sal_Int32 n )       { nRightSpace = n; }
 
-    sal_uLong GetTopSpace() const           { return nTopSpace; }
-    void SetTopSpace( sal_uLong n )         { nTopSpace = n; }
+    sal_Int32 GetTopSpace() const           { return nTopSpace; }
+    void SetTopSpace( sal_Int32 n )         { nTopSpace = n; }
 
-    sal_uLong GetBottomSpace() const        { return nBottomSpace; }
-    void SetBottomSpace( sal_uLong n )      { nBottomSpace = n; }
+    sal_Int32 GetBottomSpace() const        { return nBottomSpace; }
+    void SetBottomSpace(sal_Int32 n )       { nBottomSpace = n; }
 
-    sal_uLong GetHorzSpace() const          { return nHorzSpace; }
-    void SetHorzSpace( sal_uLong n )        { nHorzSpace = n; }
+    sal_Int32 GetHorzSpace() const          { return nHorzSpace; }
+    void SetHorzSpace( sal_Int32 n )        { nHorzSpace = n; }
 
-    sal_uLong GetVertSpace() const          { return nVertSpace; }
-    void SetVertSpace( sal_uLong n )        { nVertSpace = n; }
+    sal_Int32 GetVertSpace() const          { return nVertSpace; }
+    void SetVertSpace( sal_Int32 n )        { nVertSpace = n; }
 
     sal_uInt8 GetRow() const                { return nRow; }
     void SetRow(sal_uInt8 n )               { nRow = n; }


More information about the Libreoffice-commits mailing list