diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/cmis/auth_provider.hxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/certvalidation_handler.hxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_content.hxx | 9 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_url.cxx | 8 |
4 files changed, 33 insertions, 0 deletions
diff --git a/ucb/source/ucp/cmis/auth_provider.hxx b/ucb/source/ucp/cmis/auth_provider.hxx index c2d1e18e200b..4e560d6b099a 100644 --- a/ucb/source/ucp/cmis/auth_provider.hxx +++ b/ucb/source/ucp/cmis/auth_provider.hxx @@ -9,7 +9,15 @@ #ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_AUTH_PROVIDER_HXX #define INCLUDED_UCB_SOURCE_UCP_CMIS_AUTH_PROVIDER_HXX +#if defined __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated" +#pragma GCC diagnostic ignored "-Wunused-but-set-parameter" +#endif #include <libcmis/libcmis.hxx> +#if defined __GNUC__ +#pragma GCC diagnostic pop +#endif #include <com/sun/star/ucb/XCommandEnvironment.hpp> #include <cppuhelper/weakref.hxx> diff --git a/ucb/source/ucp/cmis/certvalidation_handler.hxx b/ucb/source/ucp/cmis/certvalidation_handler.hxx index dde7b8774fc6..95192681fec1 100644 --- a/ucb/source/ucp/cmis/certvalidation_handler.hxx +++ b/ucb/source/ucp/cmis/certvalidation_handler.hxx @@ -12,7 +12,15 @@ #ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_CERTVALIDATION_HANDLER_HXX #define INCLUDED_UCB_SOURCE_UCP_CMIS_CERTVALIDATION_HANDLER_HXX +#if defined __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated" +#pragma GCC diagnostic ignored "-Wunused-but-set-parameter" +#endif #include <libcmis/libcmis.hxx> +#if defined __GNUC__ +#pragma GCC diagnostic pop +#endif #include <com/sun/star/ucb/XCommandEnvironment.hpp> diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx index 270a232ed556..96ac2753ec56 100644 --- a/ucb/source/ucp/cmis/cmis_content.hxx +++ b/ucb/source/ucp/cmis/cmis_content.hxx @@ -23,7 +23,16 @@ #include <com/sun/star/ucb/XContentCreator.hpp> #include <com/sun/star/document/CmisVersion.hpp> #include <ucbhelper/contenthelper.hxx> + +#if defined __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated" +#pragma GCC diagnostic ignored "-Wunused-but-set-parameter" +#endif #include <libcmis/libcmis.hxx> +#if defined __GNUC__ +#pragma GCC diagnostic pop +#endif #include <list> diff --git a/ucb/source/ucp/cmis/cmis_url.cxx b/ucb/source/ucp/cmis/cmis_url.cxx index 3fbfce3bad70..6d4217280e5e 100644 --- a/ucb/source/ucp/cmis/cmis_url.cxx +++ b/ucb/source/ucp/cmis/cmis_url.cxx @@ -7,7 +7,15 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#if defined __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated" +#pragma GCC diagnostic ignored "-Wunused-but-set-parameter" +#endif #include <libcmis/libcmis.hxx> +#if defined __GNUC__ +#pragma GCC diagnostic pop +#endif #include <config_oauth2.h> #include <rtl/uri.hxx> |