diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-27 13:37:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-27 13:39:36 +0100 |
commit | 3ec3f2fd5f7a4f0e7bd5d43d2cf92a142702a116 (patch) | |
tree | e034d22003d2b19ee8b918cb18fff2766f4ab8d1 /fpicker | |
parent | de8d12acf122322af8412ef1a90e13fe34fcdbcd (diff) |
-Werror,-Wunused-macros
Change-Id: Ia4560cd9726f64d85325c0bb28b7cff9774bc173
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/aqua/SalAquaFilePicker.mm | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.mm b/fpicker/source/aqua/SalAquaFilePicker.mm index 8d1d5bc42ef6..d1a399f84415 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.mm +++ b/fpicker/source/aqua/SalAquaFilePicker.mm @@ -48,12 +48,6 @@ #pragma mark DEFINES -#define LABEL_TOGGLE( elem ) \ -case elem : \ -aLabel = aResProvider.getResString( CHECKBOX_##elem ); \ - setLabel( CHECKBOX_##elem, aLabel ); \ - break - #define CLASS_NAME "SalAquaFilePicker" //------------------------------------------------------------------------ @@ -688,28 +682,6 @@ void SAL_CALL SalAquaFilePicker::dialogSizeChanged() m_xListener->dialogSizeChanged(); } -//------------------------------------------------------------------------------------ - -#define MAP_TOGGLE( elem ) \ -case ExtendedFilePickerElementIds::CHECKBOX_##elem: \ - pWidget = m_pToggles[elem]; \ - break - -#define MAP_BUTTON( elem ) \ -case ExtendedFilePickerElementIds::PUSHBUTTON_##elem: \ - pWidget = m_pButtons[elem]; \ - break -#undef MAP_LIST -#define MAP_LIST( elem ) \ -case ExtendedFilePickerElementIds::LISTBOX_##elem: \ - pWidget = m_pListControls[elem]; if (isAList != NULL) *isAList = sal_True; \ - break - -#define MAP_LIST_LABEL( elem ) \ -case ExtendedFilePickerElementIds::LISTBOX_##elem##_LABEL: \ - pWidget = m_pListControls[elem]; \ - break - //-------------------------------------------------- // Misc //------------------------------------------------- |