From 53491f8a66d72176aab332983f9aff47ecd3d654 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 27 Jul 2018 14:15:41 +0200 Subject: loplugin:returnconstant in ucbhelper,drawinglayer Change-Id: I4e84c570fe0e555a3aeb1f11632715de466d6e0e Reviewed-on: https://gerrit.libreoffice.org/58192 Tested-by: Jenkins Reviewed-by: Noel Grandin --- ucb/source/core/FileAccess.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ucb/source') diff --git a/ucb/source/core/FileAccess.cxx b/ucb/source/core/FileAccess.cxx index 9d7de62bfc56..803eb520981c 100644 --- a/ucb/source/core/FileAccess.cxx +++ b/ucb/source/core/FileAccess.cxx @@ -261,7 +261,7 @@ void OFileAccess::transferImpl( const OUString& rSource, try { - (void)aDestPath.transferContent(aSrc, + aDestPath.transferContent(aSrc, bMoveData ? ucbhelper::InsertOperation::Move : ucbhelper::InsertOperation::Copy, -- cgit