summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-16 11:43:56 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-16 10:46:03 +0000
commit3d264450989cecdc59a2e64f46a0328432ba0d08 (patch)
tree6900674c4034a2f689950d551398390d0e801b17 /ucb
parent125c845f406fca336baea89614a5017f909bab40 (diff)
loplugin:constantfunction in ucbhelper
Change-Id: I80e00b5ac2621378801f89532ed88b377ef72b60 Reviewed-on: https://gerrit.libreoffice.org/23297 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/core/ucbcmds.cxx3
-rw-r--r--ucb/source/ucp/cmis/auth_provider.cxx2
-rw-r--r--ucb/source/ucp/hierarchy/hierarchycontent.cxx3
-rw-r--r--ucb/source/ucp/package/pkgcontent.cxx3
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.cxx6
5 files changed, 6 insertions, 11 deletions
diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx
index 2565548fdefd..ca6c0d07ee0f 100644
--- a/ucb/source/core/ucbcmds.cxx
+++ b/ucb/source/core/ucbcmds.cxx
@@ -392,8 +392,7 @@ NameClashContinuation interactiveNameClashResolve(
new ucbhelper::SimpleNameClashResolveRequest(
rTargetURL, // target folder URL
rClashingName, // clashing name
- OUString(), // no proposal for new name
- true /* bSupportsOverwriteData */ ) );
+ OUString() ) ); // no proposal for new name
rException = xRequest->getRequest();
if ( xEnv.is() )
diff --git a/ucb/source/ucp/cmis/auth_provider.cxx b/ucb/source/ucp/cmis/auth_provider.cxx
index 3adefe88473b..64cb84ecd6ca 100644
--- a/ucb/source/ucp/cmis/auth_provider.cxx
+++ b/ucb/source/ucp/cmis/auth_provider.cxx
@@ -38,7 +38,7 @@ namespace cmis
m_sUrl, m_sBindingUrl, OUString(),
STD_TO_OUSTR( username ),
STD_TO_OUSTR( password ),
- OUString(), true, false, false );
+ OUString(), false, false );
xIH->handle( xRequest.get() );
rtl::Reference< ucbhelper::InteractionContinuation > xSelection
diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.cxx b/ucb/source/ucp/hierarchy/hierarchycontent.cxx
index 6d6a9a4d063e..e73cdcf99aeb 100644
--- a/ucb/source/ucp/hierarchy/hierarchycontent.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchycontent.cxx
@@ -1297,8 +1297,7 @@ uno::Sequence< uno::Any > HierarchyContent::setPropertyValues(
// Adapt Additional Core Properties.
renameAdditionalPropertySet( xOldId->getContentIdentifier(),
- xNewId->getContentIdentifier(),
- true );
+ xNewId->getContentIdentifier() );
}
else
{
diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx
index f821140ca3e7..e90152f5de8d 100644
--- a/ucb/source/ucp/package/pkgcontent.cxx
+++ b/ucb/source/ucp/package/pkgcontent.cxx
@@ -1359,8 +1359,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
// Adapt Additional Core Properties.
renameAdditionalPropertySet( xOldId->getContentIdentifier(),
- xNewId->getContentIdentifier(),
- true );
+ xNewId->getContentIdentifier() );
}
else
{
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx
index 37a58f1a29b3..08895cfae8ca 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -1321,8 +1321,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
// Adapt Additional Core Properties.
renameAdditionalPropertySet( xOldId->getContentIdentifier(),
- xNewId->getContentIdentifier(),
- true );
+ xNewId->getContentIdentifier() );
}
else
{
@@ -2080,8 +2079,7 @@ void Content::transfer(
else
aTargetUri += aSourceUri.getName();
- if ( !copyAdditionalPropertySet(
- aSourceUri.getUri(), aTargetUri, true ) )
+ if ( !copyAdditionalPropertySet( aSourceUri.getUri(), aTargetUri ) )
{
uno::Any aProps
= uno::makeAny(