svx/source/svdraw/svdedxv.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 4b1a57e075af70135703e38337e1096b2f248ebd
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Jan 5 20:40:26 2022 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Aug 16 09:49:59 2022 +0200

    tdf#94223 always visualize surrounding frame for active text object
    
    Change-Id: I622582c188a32a5df27f3bb5d8382acc2afb089b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128025
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index c1c248b218e7..011590218dc1 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -1240,10 +1240,7 @@ bool SdrObjEditView::SdrBeginTextEdit(SdrObject* pObj_, 
SdrPageView* pPV, vcl::W
 
                 const Color 
aHilightColor(SvtOptionsDrawinglayer::getHilightColor());
                 const SdrTextObj* pText = GetTextEditObject();
-                const bool bTextFrame(pText && pText->IsTextFrame());
-                const bool bFitToSize(mpTextEditOutliner->GetControlWord()
-                                      & EEControlBits::STRETCHING);
-                const bool bVisualizeSurroundingFrame(bTextFrame && 
!bFitToSize);
+                const bool bVisualizeSurroundingFrame(pText != nullptr);
                 SdrPageView* pPageView = GetSdrPageView();
 
                 if (pPageView)

Reply via email to