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

Sarper Akdemir (via logerrit) logerrit at kemper.freedesktop.org
Mon Feb 3 14:12:50 UTC 2020


 svx/source/svdraw/svdview.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 81f73ca9b9a61fcbba1533ac8b5d5be16025667b
Author:     Sarper Akdemir <q.sarperakdemir at gmail.com>
AuthorDate: Sun Jan 26 17:12:22 2020 +0300
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Feb 3 15:12:17 2020 +0100

    tdf#75280: Convert inappropriate use of sal_uIntPtr to better integer types
    
    Change-Id: If0c39b85dc5fc8c84b723e03159abbdd790e42ae
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87453
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx
index bb1a8564d654..6182d99c3db2 100644
--- a/svx/source/svdraw/svdview.cxx
+++ b/svx/source/svdraw/svdview.cxx
@@ -1232,7 +1232,7 @@ OUString SdrView::GetStatusText()
         // At the end of a line of any multi-line paragraph, we display the
         // position of the next line of the same paragraph, if there is one.
         sal_uInt16 nParaLine = 0;
-        sal_uIntPtr nParaLineCount = pTextEditOutliner->GetLineCount(aSel.nEndPara);
+        sal_uLong nParaLineCount = pTextEditOutliner->GetLineCount(aSel.nEndPara);
         bool bBrk = false;
         while (!bBrk)
         {


More information about the Libreoffice-commits mailing list