summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-24 15:26:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-24 18:10:33 +0200
commit0bbef33b0a67d3394e6f442e8d69f9531b861e07 (patch)
tree7870c1b9a1b231e794c5bc96666aa8f4e461c361 /vcl/source
parent585cefd18de027de1c303f46c5401fe687b58fac (diff)
use HasChildPathFocus for composite MultiLineEdit
Change-Id: I7b7ca3abbc68d6ba1f63245b1aa6925ae70a0dd1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99380 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/salvtables.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index ccc31697397c..d84d657f86dc 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -5622,6 +5622,11 @@ int SalInstanceTextView::vadjustment_get_page_size() const
return rVertScrollBar.GetVisibleSize();
}
+bool SalInstanceTextView::has_focus() const
+{
+ return m_xTextView->HasChildPathFocus();
+}
+
SalInstanceTextView::~SalInstanceTextView()
{
if (!m_xTextView->IsDisposed())