Typo: TOOLBOXBUTOON->TOOLBOXBUTTON in fpicker

Change-Id: I7110afbdd554b180c368894b9aa6b3b79a8fb2b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124498
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Julien Nabet 2021-10-30 22:58:30 +02:00
parent 364c2838ba
commit f0e8fa40f2
3 changed files with 8 additions and 8 deletions

View file

@ -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 },

View file

@ -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);
}

View file

@ -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;