PVS: V560 A part of conditional expression is always true: !bReturn.
Since
commit eff3f82033
Author: Miklos Vajna <vmiklos@collabora.co.uk>
Date: Thu Mar 10 17:41:04 2016 +0100
sd: handle classification during copy&paste
Change-Id: Ia65e34cbd9e7dc688eeae09a77105bf22fc17857
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177406
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
This commit is contained in:
parent
75c9b78b07
commit
6b08b34d3d
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ bool View::InsertData( const TransferableDataHelper& rDataHelper,
|
|||
// when a CHECK_FORMAT_TRANS(*format*) detected format does not work. This is
|
||||
// e.g. necessary for SotClipboardFormatId::BITMAP
|
||||
|
||||
if (!bReturn && pOwnData)
|
||||
if (pOwnData)
|
||||
{
|
||||
// Paste only if SfxClassificationHelper recommends so.
|
||||
const SfxObjectShellRef& pSource = pOwnData->GetDocShell();
|
||||
|
|
Loading…
Reference in a new issue