diff options
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/SvxNotebookbarConfigPage.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/toolbarmodedlg.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/customize/SvxNotebookbarConfigPage.cxx b/cui/source/customize/SvxNotebookbarConfigPage.cxx index 35cb7ce0713e..c8b594b9039e 100644 --- a/cui/source/customize/SvxNotebookbarConfigPage.cxx +++ b/cui/source/customize/SvxNotebookbarConfigPage.cxx @@ -412,7 +412,7 @@ void SvxNotebookbarConfigPage::SelectElement() m_xTopLevelListBox->append(aCategoryList[nIdx].sUIItemId, aCategoryList[nIdx].sDisplayName); } - unsigned long nStart = 0; + tools::ULong nStart = 0; if (aEntries[nStart].sClassId == "sfxlo-PriorityHBox" || aEntries[nStart].sClassId == "sfxlo-PriorityMergedHBox") nStart = 1; diff --git a/cui/source/dialogs/toolbarmodedlg.cxx b/cui/source/dialogs/toolbarmodedlg.cxx index e645f6bb26d0..e15f54e830cb 100644 --- a/cui/source/dialogs/toolbarmodedlg.cxx +++ b/cui/source/dialogs/toolbarmodedlg.cxx @@ -101,7 +101,7 @@ ToolbarmodeDialog::ToolbarmodeDialog(weld::Window* pParent) Link<weld::ToggleButton&, void> aLink = LINK(this, ToolbarmodeDialog, SelectToolbarmode); const OUString sCurrentMode = GetCurrentMode(); - for (unsigned long i = 0; i < SAL_N_ELEMENTS(m_pRadioButtons); i++) + for (tools::ULong i = 0; i < SAL_N_ELEMENTS(m_pRadioButtons); i++) { m_pRadioButtons[i]->connect_toggled(aLink); if (sCurrentMode == std::get<1>(TOOLBARMODES_ARRAY[i])) @@ -133,7 +133,7 @@ static bool file_exists(const OUString& fileName) int ToolbarmodeDialog::GetActiveRadioButton() { - for (unsigned long i = 0; i < SAL_N_ELEMENTS(m_pRadioButtons); i++) + for (tools::ULong i = 0; i < SAL_N_ELEMENTS(m_pRadioButtons); i++) { if (m_pRadioButtons[i]->get_active()) return i; |