diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-13 11:41:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-13 15:29:20 +0200 |
commit | b2fd41f491af4626bc37165ef1d44b9aac859fcb (patch) | |
tree | c806ad8f8b7ac48f7970ee554e8b7e190a0b27d8 /include/svtools/editbrowsebox.hxx | |
parent | Removed executable bit on pptx (diff) | |
download | core-b2fd41f491af4626bc37165ef1d44b9aac859fcb.tar.gz core-b2fd41f491af4626bc37165ef1d44b9aac859fcb.zip |
don't grab focus if focus is already in a subcontrol
Change-Id: I3bc377e9d9ee1ad7b6066b7a1c2d27ddd7bb6b7f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98651
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools/editbrowsebox.hxx')
-rw-r--r-- | include/svtools/editbrowsebox.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index fde44b38d136..ecfd49d6d605 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -967,6 +967,7 @@ namespace svt virtual bool ProcessKey(const KeyEvent& rEvt) override; css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleCheckBoxCell(long _nRow, sal_uInt16 _nColumnPos,const TriState& eState); + bool ControlHasFocus() const; protected: // creates the accessible which wraps the active cell void implCreateActiveAccessible( ); @@ -981,8 +982,6 @@ namespace svt SVT_DLLPRIVATE void implActivateCellOnMouseEvent(const BrowserMouseEvent& _rEvt, bool _bUp); - bool ControlHasFocus() const; - DECL_DLLPRIVATE_LINK( ModifyHdl, LinkParamNone*, void ); DECL_DLLPRIVATE_LINK( StartEditHdl, void*, void ); DECL_DLLPRIVATE_LINK( EndEditHdl, void*, void ); |