summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2023-07-05 14:42:32 -0400
committerJustin Luth <jluth@mail.com>2023-07-05 23:26:52 +0200
commit71358fa5ebbb086bac822ddbfcd3500dce09ae63 (patch)
tree1bf8211a93f20ad6b7a7e219a3bec122766d0437 /sd
parent5d2fa4ab6e75609c30351f0623dac63182be4c27 (diff)
simplify sd: already asked if mxTextObj.get().is()
Change-Id: Ibb303cf53722684b0f98f0195ec6d55376bcfd1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154073 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/func/futext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx
index 559846aeb5f0..5639d424b8b1 100644
--- a/sd/source/ui/func/futext.cxx
+++ b/sd/source/ui/func/futext.cxx
@@ -590,7 +590,7 @@ bool FuText::MouseButtonUp(const MouseEvent& rMEvt)
if (rMarkList.GetMarkCount() == 1
&& ( rMarkList.GetMark(0)->GetMarkedSdrObj() == mxTextObj.get().get()) )
{
- if( mxTextObj.get().is() && !GetTextObj()->GetOutlinerParaObject() )
+ if (!GetTextObj()->GetOutlinerParaObject() )
bEmptyTextObj = true;
else
bFirstObjCreated = true;