From f0e8fa40f2620a1deeb7eff1c14a3256ab24a574 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 30 Oct 2021 22:58:30 +0200 Subject: [PATCH] Typo: TOOLBOXBUTOON->TOOLBOXBUTTON in fpicker Change-Id: I7110afbdd554b180c368894b9aa6b3b79a8fb2b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124498 Tested-by: Jenkins Reviewed-by: Julien Nabet --- fpicker/source/office/OfficeControlAccess.cxx | 6 +++--- fpicker/source/office/OfficeControlAccess.hxx | 6 +++--- fpicker/source/office/iodlg.cxx | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx index 2096ccc0f178..c879e1c15467 100644 --- a/fpicker/source/office/OfficeControlAccess.cxx +++ b/fpicker/source/office/OfficeControlAccess.cxx @@ -71,7 +71,7 @@ namespace svt { "AutoExtensionBox", CHECKBOX_AUTOEXTENSION, PROPERTY_FLAGS_COMMON | PROPERTY_FLAGS_CHECKBOX }, { "CancelButton", PUSHBUTTON_CANCEL, PROPERTY_FLAGS_COMMON | PropFlags::Text }, { "CurrentFolderText", FIXEDTEXT_CURRENTFOLDER, PROPERTY_FLAGS_COMMON | PropFlags::Text }, - { "DefaultLocationButton", TOOLBOXBUTOON_DEFAULT_LOCATION, PROPERTY_FLAGS_COMMON }, + { "DefaultLocationButton", TOOLBOXBUTTON_DEFAULT_LOCATION, PROPERTY_FLAGS_COMMON }, { "FileURLEdit", EDIT_FILEURL, PROPERTY_FLAGS_COMMON | PropFlags::Text }, { "FileURLEditLabel", EDIT_FILEURL_LABEL, PROPERTY_FLAGS_COMMON | PropFlags::Text }, { "FileView", CONTROL_FILEVIEW, PROPERTY_FLAGS_COMMON }, @@ -84,9 +84,9 @@ namespace svt { "ImageAnchorListLabel", LISTBOX_IMAGE_ANCHOR_LABEL, PROPERTY_FLAGS_COMMON | PropFlags::Text }, { "ImageTemplateList", LISTBOX_IMAGE_TEMPLATE, PROPERTY_FLAGS_COMMON | PROPERTY_FLAGS_LISTBOX }, { "ImageTemplateListLabel", LISTBOX_IMAGE_TEMPLATE_LABEL, PROPERTY_FLAGS_COMMON | PropFlags::Text }, - { "LevelUpButton", TOOLBOXBUTOON_LEVEL_UP, PROPERTY_FLAGS_COMMON }, + { "LevelUpButton", TOOLBOXBUTTON_LEVEL_UP, PROPERTY_FLAGS_COMMON }, { "LinkBox", CHECKBOX_LINK, PROPERTY_FLAGS_COMMON | PROPERTY_FLAGS_CHECKBOX }, - { "NewFolderButton", TOOLBOXBUTOON_NEW_FOLDER, PROPERTY_FLAGS_COMMON }, + { "NewFolderButton", TOOLBOXBUTTON_NEW_FOLDER, PROPERTY_FLAGS_COMMON }, { "OkButton", PUSHBUTTON_OK , PROPERTY_FLAGS_COMMON | PropFlags::Text }, { "PasswordBox", CHECKBOX_PASSWORD, PROPERTY_FLAGS_COMMON | PROPERTY_FLAGS_CHECKBOX }, { "PlayButton", PUSHBUTTON_PLAY, PROPERTY_FLAGS_COMMON | PropFlags::Text }, diff --git a/fpicker/source/office/OfficeControlAccess.hxx b/fpicker/source/office/OfficeControlAccess.hxx index 89e527be2f21..e9f2bd06c3a9 100644 --- a/fpicker/source/office/OfficeControlAccess.hxx +++ b/fpicker/source/office/OfficeControlAccess.hxx @@ -51,9 +51,9 @@ namespace svt namespace InternalFilePickerElementIds { const sal_Int16 PUSHBUTTON_HELP = sal_Int16(0x1000); - const sal_Int16 TOOLBOXBUTOON_DEFAULT_LOCATION = sal_Int16(0x1001); - const sal_Int16 TOOLBOXBUTOON_LEVEL_UP = sal_Int16(0x1002); - const sal_Int16 TOOLBOXBUTOON_NEW_FOLDER = sal_Int16(0x1003); + const sal_Int16 TOOLBOXBUTTON_DEFAULT_LOCATION = sal_Int16(0x1001); + const sal_Int16 TOOLBOXBUTTON_LEVEL_UP = sal_Int16(0x1002); + const sal_Int16 TOOLBOXBUTTON_NEW_FOLDER = sal_Int16(0x1003); const sal_Int16 FIXEDTEXT_CURRENTFOLDER = sal_Int16(0x1004); } diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index 880a24a2c15c..9f6a11da9ab1 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -2007,11 +2007,11 @@ weld::Widget* SvtFileDialog::getControl( sal_Int16 nControlId, bool bLabelContro pReturn = m_xImpl->m_xBtnHelp.get(); break; - case TOOLBOXBUTOON_LEVEL_UP: + case TOOLBOXBUTTON_LEVEL_UP: pReturn = m_xImpl->m_xBtnUp->getWidget(); break; - case TOOLBOXBUTOON_NEW_FOLDER: + case TOOLBOXBUTTON_NEW_FOLDER: pReturn = m_xImpl->m_xBtnNewFolder.get(); break;