svx/source/svdraw/svdedxv.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit ac99dd03dbc8455ef16760c0608799dddce804b6 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Oct 23 16:59:42 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sun Oct 23 20:25:53 2022 +0200 tdf#151311 don't show editing visualization frame for tables continue to show it for cases like tdf#94223 but not for table cells like tdf#151311 Change-Id: I73f69b9dc203af86293043743a1101ab129139a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141683 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 76c629aabef0..838876afa707 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -1385,7 +1385,9 @@ bool SdrObjEditView::SdrBeginTextEdit(SdrObject* pObj_, SdrPageView* pPV, vcl::W const Color aHilightColor(SvtOptionsDrawinglayer::getHilightColor()); const SdrTextObj* pText = GetTextEditObject(); - const bool bVisualizeSurroundingFrame(pText != nullptr); + // show for cases like tdf#94223 but not for table cells like tdf#151311 + const bool bVisualizeSurroundingFrame( + pText && pText->GetObjIdentifier() != SdrObjKind::Table); SdrPageView* pPageView = GetSdrPageView(); if (pPageView)