summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-01-17 11:41:14 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-01-17 12:12:19 +0100
commit2fe402cefb5d06bc33b4e0794b7da0b62be68432 (patch)
tree5c63aaaa245a94a44390763c327d9a1a363a8397 /extensions
parent1c7a5c1fd7d2aa65d7daea25bd2375a04c8a43d0 (diff)
Switch flag sequence of OpenCommandArg3 to NamedValue.
Based on feedback for 09954fc863c8ee900f157cab4458e1dcf51493d3, using the less-bulky NamedValue type instead of PropertyValue. Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/feed/updatefeed.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx
index e3adf43a1219..8d2c9dc2fa5b 100644
--- a/extensions/source/update/feed/updatefeed.cxx
+++ b/extensions/source/update/feed/updatefeed.cxx
@@ -484,10 +484,9 @@ UpdateInformationProvider::load(const rtl::OUString& rURL)
// Disable KeepAlive in webdav - don't want millions of office
// instances phone home & clog up servers
- uno::Sequence< beans::PropertyValue > aProps( 1 );
- aProps[ 0 ] = beans::PropertyValue(
- UNISTRING("KeepAlive"), -1,
- uno::makeAny(sal_False), beans::PropertyState_DIRECT_VALUE);
+ uno::Sequence< beans::NamedValue > aProps( 1 );
+ aProps[ 0 ] = beans::NamedValue(
+ UNISTRING("KeepAlive"), uno::makeAny(sal_False));
ucb::OpenCommandArgument3 aOpenArgument;
aOpenArgument.Mode = ucb::OpenMode::DOCUMENT;