diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-07-23 22:44:25 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-07-28 09:07:30 +0300 |
commit | 542f13cb4ed0662778cd72242894badd2c9337c7 (patch) | |
tree | f4481201bb88fa7fbef3927c045a0903d3f0c859 /fpicker/source/aqua/SalAquaFilePicker.mm | |
parent | 9e155f1d4d77ef269cce15f49e13108a7ca52b2a (diff) |
WaE: deprecations
Change-Id: Iadd6283d0441511d0824f013e731fdc023ab417b
Diffstat (limited to 'fpicker/source/aqua/SalAquaFilePicker.mm')
-rw-r--r-- | fpicker/source/aqua/SalAquaFilePicker.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.mm b/fpicker/source/aqua/SalAquaFilePicker.mm index 0e1a3cb87edf..25bd92389aa6 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.mm +++ b/fpicker/source/aqua/SalAquaFilePicker.mm @@ -773,7 +773,9 @@ void SalAquaFilePicker::updateSaveFileNameExtension() { rtl::OUString suffix = (*(aStringList.begin())).copy(1); NSString *requiredFileType = [NSString stringWithOUString:suffix]; +#pragma GCC diagnostic warning "-Wdeprecated-declarations" [m_pDialog setRequiredFileType:requiredFileType]; +#pragma GCC diagnostic error "-Wdeprecated-declarations" OSL_TRACE("disallowing other file types"); [m_pDialog setAllowsOtherFileTypes:NO]; |