diff options
Diffstat (limited to 'fpicker/source/aqua/SalAquaFilePicker.mm')
-rw-r--r-- | fpicker/source/aqua/SalAquaFilePicker.mm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.mm b/fpicker/source/aqua/SalAquaFilePicker.mm index 3ddad83529c4..3fbe8e7c949a 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.mm +++ b/fpicker/source/aqua/SalAquaFilePicker.mm @@ -155,12 +155,7 @@ sal_Int16 SAL_CALL SalAquaFilePicker::execute() //Set the delegate to be notified of certain events - // I don't know why, but with gcc 4.2.1, this line results in the warning: - // class 'AquaFilePickerDelegate' does not implement the 'NSOpenSavePanelDelegate' protocol - // So instead of: - // [m_pDialog setDelegate:m_pDelegate]; - // do: - ((id (*)(id, SEL, ...))objc_msgSend)(m_pDialog, @selector(setDelegate:), m_pDelegate); + [m_pDialog setDelegate:m_pDelegate]; int nStatus = runandwaitforresult(); |