[Libreoffice-commits] core.git: svx/source

AlanTang (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 11 16:23:40 UTC 2020


 svx/source/dialog/weldeditview.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit eefbc076863671cb083a36bccad51ca34ef22e1b
Author:     AlanTang <alan.tang at ossii.com.tw>
AuthorDate: Wed Mar 4 14:15:36 2020 +0800
Commit:     Michael Stahl <michael.stahl at cib.de>
CommitDate: Wed Mar 11 17:23:08 2020 +0100

    tdf#114441 Convert use of sal_uLong to sal_uInt32
    
    Change-Id: Ia359a33e7cbc25764861b17372df9d1c9dbc0913
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89942
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.stahl at cib.de>

diff --git a/svx/source/dialog/weldeditview.cxx b/svx/source/dialog/weldeditview.cxx
index ff9fc741564e..1ac95622af42 100644
--- a/svx/source/dialog/weldeditview.cxx
+++ b/svx/source/dialog/weldeditview.cxx
@@ -1082,8 +1082,8 @@ tools::Rectangle WeldTextForwarder::GetParaBounds(sal_Int32 nPara) const
     if (pEditEngine)
     {
         const Point aPnt = pEditEngine->GetDocPosTopLeft(nPara);
-        const sal_uLong nWidth = pEditEngine->CalcTextWidth();
-        const sal_uLong nHeight = pEditEngine->GetTextHeight(nPara);
+        const sal_Int32 nWidth = pEditEngine->CalcTextWidth();
+        const sal_Int32 nHeight = pEditEngine->GetTextHeight(nPara);
         aRect = tools::Rectangle(aPnt.X(), aPnt.Y(), aPnt.X() + nWidth, aPnt.Y() + nHeight);
     }
 


More information about the Libreoffice-commits mailing list