diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-20 15:39:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-20 20:59:04 +0100 |
commit | 6ef28599b227042e3b64075143207af2c674719d (patch) | |
tree | 879fbf395bd115b34107ef578a2e26581eb9fb81 /extensions | |
parent | 3a33a97d2358a7ad2e67c01edc1fca29d1b7041c (diff) |
cid#1545612 COPY_INSTEAD_OF_MOVE
and
cid#1545605 COPY_INSTEAD_OF_MOVE
cid#1545587 COPY_INSTEAD_OF_MOVE
Change-Id: Iafb1d81dbacfefe70fbddd84b29e827dc137ef07
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161077
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/update/feed/updatefeed.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx index b1bc6851edef..f9e6a5706c91 100644 --- a/extensions/source/update/feed/updatefeed.cxx +++ b/extensions/source/update/feed/updatefeed.cxx @@ -449,15 +449,13 @@ UpdateInformationProvider::load(const OUString& rURL) uno::Reference< ucb::XCommandProcessor > xCommandProcessor(m_xUniversalContentBroker->queryContent(xId), uno::UNO_QUERY_THROW); rtl::Reference< ActiveDataSink > aSink(new ActiveDataSink()); - // Disable KeepAlive in webdav - don't want millions of office - // instances phone home & clog up servers - uno::Sequence< beans::NamedValue > aProps { { "KeepAlive", uno::Any(false) } }; - ucb::OpenCommandArgument3 aOpenArgument; aOpenArgument.Mode = ucb::OpenMode::DOCUMENT; aOpenArgument.Priority = 32768; aOpenArgument.Sink = *aSink; - aOpenArgument.OpeningFlags = aProps; + // Disable KeepAlive in webdav - don't want millions of office + // instances phone home & clog up servers + aOpenArgument.OpeningFlags = { { "KeepAlive", uno::Any(false) } }; ucb::Command aCommand; aCommand.Name = "open"; |