sd/source/ui/view/sdview3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6b08b34d3dbf3af4a2dd36919c96201523f17990 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Wed Nov 27 12:16:12 2024 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Wed Nov 27 13:41:35 2024 +0100 PVS: V560 A part of conditional expression is always true: !bReturn. Since commit eff3f82033b5862af6300876aa69d9de0486d61b Author: Miklos Vajna <vmik...@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 <xiscofa...@libreoffice.org> Tested-by: Jenkins diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx index c16f92b7349c..7fa06beb1c1b 100644 --- a/sd/source/ui/view/sdview3.cxx +++ b/sd/source/ui/view/sdview3.cxx @@ -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();