tdf#75280: Convert inappropriate use of sal_uIntPtr to better integer types

Change-Id: I55e4028bfc39161f6734cc54721d49cd25e078f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86060
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index d5ed298..5e6eb95 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -255,7 +255,7 @@
        SdrTextObj* pTextObj = mxTextEditObj.get();
        if (pTextObj != nullptr)
        {
            sal_uIntPtr nOutlViewCnt = pTextEditOutliner->GetViewCount();
            size_t nOutlViewCnt = pTextEditOutliner->GetViewCount();
            bool bAreaChg = false;
            bool bAnchorChg = false;
            bool bColorChg = false;
@@ -315,7 +315,7 @@
                        pTextObj->TakeTextAnchorRect(aAnchorRect);
                        pTextObj->ImpSetContourPolygon(*pTextEditOutliner, aAnchorRect, true);
                    }
                    for (sal_uIntPtr nOV = 0; nOV < nOutlViewCnt; nOV++)
                    for (size_t nOV = 0; nOV < nOutlViewCnt; nOV++)
                    {
                        OutlinerView* pOLV = pTextEditOutliner->GetView(nOV);
                        EVControlBits nStat0 = pOLV->GetControlWord();
@@ -358,7 +358,7 @@
            // again on ModelHasChanged().
            if (bContourFrame || bAreaChg || bAnchorChg || bColorChg)
            {
                for (sal_uIntPtr nOV = 0; nOV < nOutlViewCnt; nOV++)
                for (size_t nOV = 0; nOV < nOutlViewCnt; nOV++)
                {
                    OutlinerView* pOLV = pTextEditOutliner->GetView(nOV);
                    { // invalidate old OutlinerView area
@@ -1253,7 +1253,7 @@
            }

            // check if this view is already inserted
            sal_uIntPtr i2, nCount = pTextEditOutliner->GetViewCount();
            size_t i2, nCount = pTextEditOutliner->GetViewCount();
            for (i2 = 0; i2 < nCount; i2++)
            {
                if (pTextEditOutliner->GetView(i2) == pTextEditOutlinerView)
@@ -1594,7 +1594,7 @@
            AdjustMarkHdl();
        }
        // delete all OutlinerViews
        for (sal_uIntPtr i = pTEOutliner->GetViewCount(); i > 0;)
        for (size_t i = pTEOutliner->GetViewCount(); i > 0;)
        {
            i--;
            OutlinerView* pOLV = pTEOutliner->GetView(i);
@@ -1672,8 +1672,8 @@
    if (pTextEditOutliner == nullptr)
        return nullptr;
    OutlinerView* pNewView = nullptr;
    sal_uIntPtr nWinCount = pTextEditOutliner->GetViewCount();
    for (sal_uIntPtr i = 0; i < nWinCount && pNewView == nullptr; i++)
    size_t nWinCount = pTextEditOutliner->GetViewCount();
    for (size_t i = 0; i < nWinCount && pNewView == nullptr; i++)
    {
        OutlinerView* pView = pTextEditOutliner->GetView(i);
        if (pView->GetWindow() == pWin)
@@ -2321,7 +2321,7 @@

    if (mxTextEditObj.is() && !bTextEditOnlyOneView && pOldWin->GetOutDevType() == OUTDEV_WINDOW)
    {
        for (sal_uIntPtr i = pTextEditOutliner->GetViewCount(); i > 0;)
        for (size_t i = pTextEditOutliner->GetViewCount(); i > 0;)
        {
            i--;
            OutlinerView* pOLV = pTextEditOutliner->GetView(i);