sw/inc/swcrsr.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b3c66db70453d400528c3625335bfed2b0cfc475
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Tue Jul 26 19:28:02 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Tue Jul 26 22:42:59 2022 +0200

    tools::Long->sal_Int32 in SwCursor::m_nRowSpanOffset
    
    elsewhere in writer this is either sal_uInt16 or sal_Int32, so lets use
    the wider type
    
    Change-Id: I976aa2076a1bf703caff343806daf83de89782bc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137482
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx
index c3d3f5d040e4..0a2aafff36c7 100644
--- a/sw/inc/swcrsr.hxx
+++ b/sw/inc/swcrsr.hxx
@@ -72,7 +72,7 @@ class SW_DLLPUBLIC SwCursor : public SwPaM
     friend class SwCursorSaveState;
 
     std::vector<SwCursor_SavePos> m_vSavePos; // the current entry is the last 
element
-    tools::Long m_nRowSpanOffset;        // required for travelling in tabs 
with rowspans
+    sal_Int32 m_nRowSpanOffset;        // required for travelling in tabs with 
rowspans
     sal_uInt8 m_nCursorBidiLevel; // bidi level of the cursor
     bool m_bColumnSelection;      // true: cursor is aprt of a column selection
 
@@ -214,7 +214,7 @@ public:
     bool IsColumnSelection() const { return m_bColumnSelection; }
     void SetColumnSelection( bool bNew ) { m_bColumnSelection = bNew; }
 
-    tools::Long GetCursorRowSpanOffset() const { return m_nRowSpanOffset; }
+    sal_Int32 GetCursorRowSpanOffset() const { return m_nRowSpanOffset; }
 
     SwCursor* GetNext()             { return dynamic_cast<SwCursor 
*>(GetNextInRing()); }
     const SwCursor* GetNext() const { return dynamic_cast<SwCursor const 
*>(GetNextInRing()); }

Reply via email to