summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc
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/source/ucp/tdoc
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/source/ucp/tdoc')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.cxx6
1 files changed, 2 insertions, 4 deletions
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(