editeng/source/outliner/outlin2.cxx |    2 +-
 include/editeng/outliner.hxx        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5c5aaf2b0907006334942fa178a8a254ac2f789c
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Sun May 2 12:41:05 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Sun May 2 17:59:44 2021 +0200

    sal_uLong->sal_uInt32 in Outliner
    
    to match the underlying call to EditEngine.
    
    Change-Id: I3e28cffdd121fa8e54f011e806b72e9a7e72f70f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114993
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/editeng/source/outliner/outlin2.cxx 
b/editeng/source/outliner/outlin2.cxx
index df2e50389d3f..b00878c874a0 100644
--- a/editeng/source/outliner/outlin2.cxx
+++ b/editeng/source/outliner/outlin2.cxx
@@ -98,7 +98,7 @@ bool Outliner::IsModified() const
     return pEditEngine->IsModified();
 }
 
-sal_uLong Outliner::GetTextHeight() const
+sal_uInt32 Outliner::GetTextHeight() const
 {
     return pEditEngine->GetTextHeight();
 }
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 08ebce36e2da..86cca91d9db9 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -907,7 +907,7 @@ public:
     void            SetRefDevice( OutputDevice* pRefDev );
     OutputDevice*   GetRefDevice() const;
 
-    sal_uLong       GetTextHeight() const;
+    sal_uInt32      GetTextHeight() const;
     tools::Rectangle GetParaBounds( sal_Int32 nParagraph ) const;
     Point           GetDocPos( const Point& rPaperPos ) const;
     bool            IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to