tdf#75280 Clean up usage of sal_uIntPtr.

Change-Id: I671fbca67846f7f105c06a2423e7c7ee5c8d6894
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91223
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
diff --git a/dbaccess/source/ui/querydesign/querydlg.cxx b/dbaccess/source/ui/querydesign/querydlg.cxx
index 8c99451..72b1edb 100644
--- a/dbaccess/source/ui/querydesign/querydlg.cxx
+++ b/dbaccess/source/ui/querydesign/querydlg.cxx
@@ -120,7 +120,7 @@
    {
        for (sal_Int32 i = 0; i < m_xLB_JoinType->get_count();)
        {
            const sal_IntPtr nJoinTyp = m_xLB_JoinType->get_id(i).toInt32();
            const sal_Int32 nJoinTyp = m_xLB_JoinType->get_id(i).toInt32();
            if ( !bSupportFullJoin && nJoinTyp == ID_FULL_JOIN )
                m_xLB_JoinType->remove(i);
            else if ( !bSupportOuterJoin && (nJoinTyp == ID_LEFT_JOIN || nJoinTyp == ID_RIGHT_JOIN) )
@@ -153,7 +153,7 @@
    const EJoinType eOldJoinType = eJoinType;
    const char* pResId = nullptr;
    const sal_Int32 nPos = m_xLB_JoinType->get_active();
    const sal_IntPtr nJoinType = m_xLB_JoinType->get_id(nPos).toInt32();
    const sal_Int32 nJoinType = m_xLB_JoinType->get_id(nPos).toInt32();
    bool bAddHint = true;
    switch ( nJoinType )
    {
@@ -277,7 +277,7 @@
    eJoinType = _eNewJoinType;
    m_xCBNatural->set_sensitive(eJoinType != CROSS_JOIN);

    sal_IntPtr nJoinType = 0;
    sal_Int32 nJoinType = 0;
    switch ( eJoinType )
    {
        default: