diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-06-05 01:17:56 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-10-30 19:32:48 +0100 |
commit | b0994c2576b052df0d63aaaed5d205c171f8b1b3 (patch) | |
tree | ba04143cab49c195f44f0fea906cfe89172d85e4 /fpicker | |
parent | Resolves: tdf#117715 Conditional format takes precedence; reverts tdf#93300 (diff) | |
download | core-b0994c2576b052df0d63aaaed5d205c171f8b1b3.tar.gz core-b0994c2576b052df0d63aaaed5d205c171f8b1b3.zip |
The macOS SDK 10.15 has a tighter declaration of objc_msgSend()
Change-Id: I51734b92965a9fa1f06aa18017d39b4b0d532456
(cherry picked from commit 4d3628ca769ce07c93e8c4629075eeb7c8dc317e)
Reviewed-on: https://gerrit.libreoffice.org/81740
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/aqua/SalAquaFilePicker.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.mm b/fpicker/source/aqua/SalAquaFilePicker.mm index c46cd9cb8739..71a2940dec9e 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.mm +++ b/fpicker/source/aqua/SalAquaFilePicker.mm @@ -162,7 +162,7 @@ sal_Int16 SAL_CALL SalAquaFilePicker::execute() // So instead of: // [m_pDialog setDelegate:m_pDelegate]; // do: - objc_msgSend(m_pDialog, @selector(setDelegate:), m_pDelegate); + ((id (*)(id, SEL, ...))objc_msgSend)(m_pDialog, @selector(setDelegate:), m_pDelegate); int nStatus = runandwaitforresult(); |