summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-01-17 11:41:14 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-01-17 11:42:07 +0100
commit29bd62fdc2792e215999e9dd0ec9a4bf1102201d (patch)
tree1d6a8a49a7b6516acddda95fcc84dcf2aa64378c /extensions
parent0e163ead17cb1e6675c72a39c32a0bb4d733857a (diff)
Switch flag sequence of OpenCommandArg3 to NamedValue.
Based on feedback for 09954fc863c8ee900f157cab4458e1dcf51493d3, using the less-bulky NamedValue type instead of PropertyValue.
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 944b7beb8f16..ae69e7c177c8 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;