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

Change-Id: I1f9c143eee8da149d87668063cc2da16d22312db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87464
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx
index 32f1bcf..12995e5 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -656,7 +656,7 @@

        // selection can be modified during deletion,
        // but because I disabled SelectionHandling, I have to do it later
        sal_uIntPtr nExpectedSelectionCount = GetSelectionCount();
        sal_uLong nExpectedSelectionCount = GetSelectionCount();

        GetModel()->Remove(pEntry);