tdf#156741 - A11Y - fix drawing shape is not highlighted by clicking

"Avoid floating text" warning.

If GotoFly not select the textframe object try GotoDrawingObject.

Change-Id: Ica7829dd0cc21f3f1fb344dfb21afdfb43783cef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155676
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
diff --git a/sw/source/core/access/AccessibilityIssue.cxx b/sw/source/core/access/AccessibilityIssue.cxx
index 9da1952..6810cc0 100644
--- a/sw/source/core/access/AccessibilityIssue.cxx
+++ b/sw/source/core/access/AccessibilityIssue.cxx
@@ -74,6 +74,10 @@ void AccessibilityIssue::gotoIssue() const
                pWrtShell->HideCursor();
                pWrtShell->EnterSelFrameMode();
            }

            if (!bSelected && m_eIssueObject == IssueObject::TEXTFRAME)
                pWrtShell->GotoDrawingObject(m_sObjectID);

            if (comphelper::LibreOfficeKit::isActive())
                pWrtShell->ShowCursor();
        }