summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-27 13:37:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-27 13:39:36 +0100
commit3ec3f2fd5f7a4f0e7bd5d43d2cf92a142702a116 (patch)
treee034d22003d2b19ee8b918cb18fff2766f4ab8d1 /fpicker
parentde8d12acf122322af8412ef1a90e13fe34fcdbcd (diff)
-Werror,-Wunused-macros
Change-Id: Ia4560cd9726f64d85325c0bb28b7cff9774bc173
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/aqua/SalAquaFilePicker.mm28
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
//-------------------------------------------------