Kaydet (Commit) ce604711 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1433644 silence Dereference after null check

Change-Id: I699fb3e07d21dc1852c0d50d4a7d478bcf1d1a96
Reviewed-on: https://gerrit.libreoffice.org/52063Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 8d1de00d
...@@ -460,6 +460,8 @@ void Clipboard::CreateSlideTransferable ( ...@@ -460,6 +460,8 @@ void Clipboard::CreateSlideTransferable (
pActionWindow = pViewShell->GetActiveWindow(); pActionWindow = pViewShell->GetActiveWindow();
} }
assert(pActionWindow);
pTransferable->SetStartPos (pActionWindow->PixelToLogic( pTransferable->SetStartPos (pActionWindow->PixelToLogic(
pActionWindow->GetPointerPosPixel())); pActionWindow->GetPointerPosPixel()));
pTransferable->SetObjectDescriptor (std::move(pObjDesc)); pTransferable->SetObjectDescriptor (std::move(pObjDesc));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment