[Libreoffice-commits] core.git: fpicker/source

Stephan Bergmann sbergman at redhat.com
Wed Mar 27 05:40:06 PDT 2013


 fpicker/source/aqua/SalAquaFilePicker.mm |   28 ----------------------------
 1 file changed, 28 deletions(-)

New commits:
commit 3ec3f2fd5f7a4f0e7bd5d43d2cf92a142702a116
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Mar 27 13:37:37 2013 +0100

    -Werror,-Wunused-macros
    
    Change-Id: Ia4560cd9726f64d85325c0bb28b7cff9774bc173

diff --git a/fpicker/source/aqua/SalAquaFilePicker.mm b/fpicker/source/aqua/SalAquaFilePicker.mm
index 8d1d5bc..d1a399f 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
 //-------------------------------------------------


More information about the Libreoffice-commits mailing list