diff options
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/hlmarkwn.cxx | 4 | ||||
-rw-r--r-- | cui/source/dialogs/insdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/numfmt.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
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); |