summaryrefslogtreecommitdiff
path: root/sd/source/ui/func
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-27 08:55:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-28 11:13:21 +0100
commitde6f36cc2fb359332205ba836f8396a1cdbe44c2 (patch)
treea7b4dfcd77bffe4ca90c2f5763aa5ef9b20a5c39 /sd/source/ui/func
parent1d39c5aa7bd6419060ed10d9fbdc2a643000f363 (diff)
simplify reset(nullptr) -> reset()
Change-Id: Iec5e93d9c59dde44571376e46fb98ea854e16b6c Reviewed-on: https://gerrit.libreoffice.org/69784 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/func')
-rw-r--r--sd/source/ui/func/futext.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx
index c43afe218495..48a9c7d36dfa 100644
--- a/sd/source/ui/func/futext.cxx
+++ b/sd/source/ui/func/futext.cxx
@@ -158,7 +158,7 @@ void FuText::disposing()
if(mpView)
{
if(mpView->SdrEndTextEdit() == SdrEndTextEditKind::Deleted)
- mxTextObj.reset( nullptr );
+ mxTextObj.reset(nullptr);
// reset the RequestHandler of the used Outliner to the handler of the document
::Outliner* pOutliner = mpView->GetTextEditOutliner();
@@ -280,7 +280,7 @@ bool FuText::MouseButtonDown(const MouseEvent& rMEvt)
list. The call MarkObj further below accesses then the dead
object. As a simple fix, we determine eHit after
SdrEndTextEdit again, this returns then SdrHitKind::NONE. */
- mxTextObj.reset( nullptr );
+ mxTextObj.reset(nullptr);
eHit = mpView->PickAnything(rMEvt, SdrMouseEventKind::BUTTONDOWN, aVEvt);
}
@@ -632,7 +632,7 @@ bool FuText::MouseButtonUp(const MouseEvent& rMEvt)
if (bReset)
{
- mxTextObj.reset( nullptr );
+ mxTextObj.reset(nullptr);
}
}