summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-31 10:40:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-31 10:40:54 +0100
commitb48f97a2ec6ec5b53234594e70ccf24db347f976 (patch)
tree3e00a8154314d063dc4279224dd60c0c5276534a /ucb
parent155553ac9574aec457be10c4fef56a97dcbf7fdb (diff)
Silence GCC 7 warnings in libcmis/libcmis.hxx
Change-Id: If7114da10824300804a882fa31080a17e69fc36b
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/cmis/auth_provider.hxx8
-rw-r--r--ucb/source/ucp/cmis/certvalidation_handler.hxx8
-rw-r--r--ucb/source/ucp/cmis/cmis_content.hxx9
-rw-r--r--ucb/source/ucp/cmis/cmis_url.cxx8
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>