summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdview.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-18 15:58:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-19 10:45:45 +0200
commitc0ee80f9787bc5e86fb7a342b567c0649253e1e3 (patch)
treef44505ae8df20982349485c47370f7271195866e /svx/source/svdraw/svdview.cxx
parentaca5e1ba7f33c8913304b5f90ef478f316e64263 (diff)
loplugin:useuniqueptr in SdrDragView
and fix potential leak on early return in SdrDragView::BegDragObj Change-Id: I707be6e2c7dc2c251f37447fe3cd98c4b50b59d1 Reviewed-on: https://gerrit.libreoffice.org/53751 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdview.cxx')
-rw-r--r--svx/source/svdraw/svdview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx
index c831ce9b26e9..d41766e62b9c 100644
--- a/svx/source/svdraw/svdview.cxx
+++ b/svx/source/svdraw/svdview.cxx
@@ -1192,7 +1192,7 @@ OUString SdrView::GetStatusText()
{
SAL_INFO(
"svx.svdraw",
- "(" << this << ") " << mpCurrentSdrDragMethod);
+ "(" << this << ") " << mpCurrentSdrDragMethod.get());
mpCurrentSdrDragMethod->TakeSdrDragComment(aStr);
}
}