diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-05 19:45:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-06 14:52:56 +0200 |
commit | 291f1776a661cd5d809fbe385efd1e1c8432ddd1 (patch) | |
tree | f05105cd4d6bad18bf128af62f67dec69896f7fc /include/svtools | |
parent | 024bdf31b17814c1c96d7376ac77564a9361be65 (diff) |
split off key processing
so we can explicitly call it rather than let implicit PreNotify
process it
Change-Id: I5f27b8c34a0be7239303307a2d5e93e5de4f4c2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98172
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/brwbox.hxx | 2 | ||||
-rw-r--r-- | include/svtools/editbrowsebox.hxx | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx index df19ecf02a1b..67a3e8fdbb7a 100644 --- a/include/svtools/brwbox.hxx +++ b/include/svtools/brwbox.hxx @@ -587,7 +587,7 @@ public: // miscellaneous bool ReserveControlArea(sal_uInt16 nWidth = USHRT_MAX); tools::Rectangle GetControlArea() const; - bool ProcessKey( const KeyEvent& rEvt ); + virtual bool ProcessKey(const KeyEvent& rEvt); void Dispatch( sal_uInt16 nId ); void SetMode( BrowserMode nMode ); BrowserMode GetMode( ) const { return m_nCurrentMode; } diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index c86d1745155b..1e24ced1d8ed 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -810,6 +810,8 @@ namespace svt virtual tools::Rectangle GetFieldCharacterBounds(sal_Int32 _nRow,sal_Int32 _nColumnPos,sal_Int32 nIndex) override; virtual sal_Int32 GetFieldIndexAtPoint(sal_Int32 _nRow,sal_Int32 _nColumnPos,const Point& _rPoint) override; + virtual bool ProcessKey(const KeyEvent& rEvt) override; + css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleCheckBoxCell(long _nRow, sal_uInt16 _nColumnPos,const TriState& eState); protected: // creates the accessible which wraps the active cell |