From 424300b69a43c569dae5753db63c2ad7444d3d73 Mon Sep 17 00:00:00 2001 From: Ariel Constenla-Haile Date: Sun, 24 Mar 2013 12:22:48 +0000 Subject: i121945 - WebDAV ucp: return StringPair instead of NamedValue Make css::ucb::XWebDAVCommandEnvironment::getUserRequestHeaders() return a sequence of css::beans::StringPair; this avoids all the any overhead, and is much more simple and intuitive. (cherry picked from commit 80199136d0d84b51b3d0529fb313b8f20f5cf851) Conflicts: extensions/source/update/feed/updatefeed.cxx offapi/type_reference/typelibrary_history.txt offapi/type_reference/types.rdb ucb/source/ucp/webdav/DAVResourceAccess.cxx (Would be an incompatible API CHANGE if we had not unpublished XWebDAVCommandEnvironment with 78cca63070ae6cf82b45ec3bc75fafa2db31a7f2 "Revert publishing of lots of UNO types.") Change-Id: I1c5d0a0b225fe86aca6ba6d6c8903985005387c2 --- offapi/com/sun/star/ucb/XWebDAVCommandEnvironment.idl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'offapi') diff --git a/offapi/com/sun/star/ucb/XWebDAVCommandEnvironment.idl b/offapi/com/sun/star/ucb/XWebDAVCommandEnvironment.idl index eda3d1487f32..7bc17321ca30 100644 --- a/offapi/com/sun/star/ucb/XWebDAVCommandEnvironment.idl +++ b/offapi/com/sun/star/ucb/XWebDAVCommandEnvironment.idl @@ -20,7 +20,7 @@ #define __com_sun_star_ucb_XWebDAVCommandEnvironment_idl__ #include -#include +#include module com { module sun { module star { module ucb { @@ -43,9 +43,8 @@ interface XWebDAVCommandEnvironment : XCommandEnvironment @return A sequence of header name, header value pairs. The header names must be the plain names and contain no trailing ":". - The header value must be an Any containing a string. */ - sequence getUserRequestHeaders( + sequence getUserRequestHeaders( [in] string aURI, [in] string aMethod); }; -- cgit