cui/source/dialogs/hlmarkwn.cxx | 4 ++-- cui/source/dialogs/insdlg.cxx | 2 +- cui/source/tabpages/numfmt.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit 55a6ecb44d45afc5033969c0c8b0245497477aed Author: Muhammet Kara <muhammet.k...@collabora.com> AuthorDate: Thu Sep 10 23:32:50 2020 +0300 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Thu Sep 10 23:56:08 2020 +0200 Replace sal_uLong with proper types in cui Change-Id: I0724105f0d058651d47e6d62bc20e497af37242f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102408 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.k...@collabora.com> diff --git a/cui/source/dialogs/hlmarkwn.cxx b/cui/source/dialogs/hlmarkwn.cxx index bac63d088f73..ab28675b4932 100644 --- a/cui/source/dialogs/hlmarkwn.cxx +++ b/cui/source/dialogs/hlmarkwn.cxx @@ -285,13 +285,13 @@ int SvxHlinkDlgMarkWnd::FillTree( const uno::Reference< container::XNameAccess > { int nEntries=0; const uno::Sequence< OUString > aNames( xLinks->getElementNames() ); - const sal_uLong nLinks = aNames.getLength(); + const sal_Int32 nLinks = aNames.getLength(); const OUString* pNames = aNames.getConstArray(); const OUString aProp_LinkDisplayName( "LinkDisplayName" ); const OUString aProp_LinkTarget( "com.sun.star.document.LinkTarget" ); const OUString aProp_LinkDisplayBitmap( "LinkDisplayBitmap" ); - for( sal_uLong i = 0; i < nLinks; i++ ) + for( sal_Int32 i = 0; i < nLinks; i++ ) { uno::Any aAny; OUString aLink( *pNames++ ); diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx index 4f34b461eba5..273d3c065f73 100644 --- a/cui/source/dialogs/insdlg.cxx +++ b/cui/source/dialogs/insdlg.cxx @@ -156,7 +156,7 @@ short SvInsertOleDlg::run() // fill listbox and select default m_xLbObjecttype->freeze(); - for ( sal_uLong i = 0; i < m_pServers->Count(); i++ ) + for ( size_t i = 0; i < m_pServers->Count(); i++ ) m_xLbObjecttype->append_text((*m_pServers)[i].GetHumanName()); m_xLbObjecttype->thaw(); m_xLbObjecttype->select(0); diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx index c9826d2a7c3e..c4a15bd6b70b 100644 --- a/cui/source/tabpages/numfmt.cxx +++ b/cui/source/tabpages/numfmt.cxx @@ -1198,7 +1198,7 @@ void SvxNumberFormatTabPage::SelFormatHdl_Impl(weld::Widget* pLb) // Format-ListBox ---------------------------------------------------- if (pLb == m_xLbFormat.get()) { - sal_uLong nSelPos = m_xLbFormat->get_selected_index(); + int nSelPos = m_xLbFormat->get_selected_index(); short nFmtLbSelPos = static_cast<short>(nSelPos); OUString aFormat = pNumFmtShell->GetFormat4Entry(nFmtLbSelPos); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits