summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-27 14:15:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-27 21:17:20 +0200
commit53491f8a66d72176aab332983f9aff47ecd3d654 (patch)
tree628d8539e19bfad27fcc2b7902b08409afef222e /ucbhelper
parente6538f5bdd876911ea30f84a6512c03908e620fd (diff)
loplugin:returnconstant in ucbhelper,drawinglayer
Change-Id: I4e84c570fe0e555a3aeb1f11632715de466d6e0e Reviewed-on: https://gerrit.libreoffice.org/58192 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/client/content.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index 8b5591dfcd58..d0479ecfa81d 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -936,7 +936,7 @@ bool Content::insertNewContent( const OUString& rContentType,
}
-bool Content::transferContent( const Content& rSourceContent,
+void Content::transferContent( const Content& rSourceContent,
InsertOperation eOperation,
const OUString & rTitle,
const sal_Int32 nNameClashAction,
@@ -996,7 +996,6 @@ bool Content::transferContent( const Content& rSourceContent,
Any aRet = pBroker->execute( aCommand, 0, m_xImpl->getEnvironment() );
if ( pResultURL != nullptr )
aRet >>= *pResultURL;
- return true;
}