From 71358fa5ebbb086bac822ddbfcd3500dce09ae63 Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Wed, 5 Jul 2023 14:42:32 -0400 Subject: 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 --- sd/source/ui/func/futext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') 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; -- cgit