diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-07-28 14:43:55 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-07-28 14:43:55 +0300 |
commit | 079c042d1994b6a8532e72e55aaaa617a7acd387 (patch) | |
tree | c80057ef0ed86d60e1837d074f0e2fbf6a974031 /fpicker/source/aqua/SalAquaPicker.mm | |
parent | callcatcher: update list, more stlification (diff) | |
download | core-079c042d1994b6a8532e72e55aaaa617a7acd387.tar.gz core-079c042d1994b6a8532e72e55aaaa617a7acd387.zip |
WaE: ignoring #pragma GCC diagnostic
Change-Id: I45db1175d18a5284cbbb6b9e34534cf2c25728d2
Diffstat (limited to 'fpicker/source/aqua/SalAquaPicker.mm')
-rw-r--r-- | fpicker/source/aqua/SalAquaPicker.mm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fpicker/source/aqua/SalAquaPicker.mm b/fpicker/source/aqua/SalAquaPicker.mm index b29213866214..d2825d6de22f 100644 --- a/fpicker/source/aqua/SalAquaPicker.mm +++ b/fpicker/source/aqua/SalAquaPicker.mm @@ -180,7 +180,10 @@ int SalAquaPicker::run() startDirectory = NSHomeDirectory(); } +#if defined(LIBO_WERROR) && defined(__clang__) && MACOSX_SDK_VERSION >= 1070 +#pragma GCC diagnostic push #pragma GCC diagnostic warning "-Wdeprecated-declarations" +#endif switch(m_nDialogType) { case NAVIGATIONSERVICES_DIRECTORY: case NAVIGATIONSERVICES_OPEN: @@ -200,8 +203,9 @@ int SalAquaPicker::run() implsetDisplayDirectory([[NSURL fileURLWithPath:pDir] OUStringForInfo:FULLPATH]); } } -#pragma GCC diagnostic error "-Wdeprecated-declarations" - +#if defined(LIBO_WERROR) && defined(__clang__) && MACOSX_SDK_VERSION >= 1070 +#pragma GCC diagnostic pop +#endif DBG_PRINT_EXIT(CLASS_NAME, __func__, retVal); [pool release]; |