diff options
author | Ariel Constenla-Haile <arielch@apache.org> | 2013-03-24 12:22:48 +0000 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-08-15 16:55:24 +0200 |
commit | 424300b69a43c569dae5753db63c2ad7444d3d73 (patch) | |
tree | aab40f692f2afc3efaf2e5193f699c5e06253b7a /offapi | |
parent | b2dfbdff7a7436c8fc4a8d2304f573bf783b2d32 (diff) |
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
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/ucb/XWebDAVCommandEnvironment.idl | 5 |
1 files changed, 2 insertions, 3 deletions
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 <com/sun/star/ucb/XCommandEnvironment.idl> -#include <com/sun/star/beans/NamedValue.idl> +#include <com/sun/star/beans/StringPair.idl> 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<com::sun::star::beans::NamedValue> getUserRequestHeaders( + sequence<com::sun::star::beans::StringPair> getUserRequestHeaders( [in] string aURI, [in] string aMethod); }; |