summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorBugra <bugrakurt26@gmail.com>2020-03-04 15:20:06 +0300
committerMichael Stahl <michael.stahl@cib.de>2020-03-11 16:42:55 +0100
commitcdc16e5d67ad4668cfa457fc277a796b413228a9 (patch)
treec53d0869ee6106ced2ecc47ab989f917a15065b5 /dbaccess
parentc3f0c527b31f5c88263ea63d3d0e332c4783917c (diff)
tdf#114441: Convert use of sal_uLong to better integer types
Change-Id: I5065899525e57c48eb43023b7a22db46e8e5bedc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89961 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/app/AppSwapWindow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/app/AppSwapWindow.cxx b/dbaccess/source/ui/app/AppSwapWindow.cxx
index 05100e13c102..29cdef2b79e5 100644
--- a/dbaccess/source/ui/app/AppSwapWindow.cxx
+++ b/dbaccess/source/ui/app/AppSwapWindow.cxx
@@ -164,9 +164,9 @@ IMPL_LINK_NOARG(OApplicationSwapWindow, ChangeToLastSelected, void*, void)
void OApplicationSwapWindow::selectContainer(ElementType _eType)
{
- sal_uLong nCount = m_aIconControl->GetEntryCount();
+ sal_Int32 nCount = m_aIconControl->GetEntryCount();
SvxIconChoiceCtrlEntry* pEntry = nullptr;
- for (sal_uLong i=0; i < nCount; ++i)
+ for (sal_Int32 i=0; i < nCount; ++i)
{
pEntry = m_aIconControl->GetEntry(i);
if ( pEntry && *static_cast<ElementType*>(pEntry->GetUserData()) == _eType )