summaryrefslogtreecommitdiffstats
path: root/include/svx/weldeditview.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-09-09 10:15:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-09-09 12:41:59 +0200
commitc36fff84afb7eaa05fa065e15009c9426a5af44e (patch)
treec6e65c13fe1917a4bfa9652a17fe173f18e5f699 /include/svx/weldeditview.hxx
parentworkaround -Wshadow in libcuckoo (diff)
downloadcore-c36fff84afb7eaa05fa065e15009c9426a5af44e.tar.gz
core-c36fff84afb7eaa05fa065e15009c9426a5af44e.zip
Resolves: tdf#144376 focus into protected ScTextWnd shouldn't be possible
the expectations are that this isn't possible and if it happens then under windows there is a QueryCharPosition which will trigger the deletion of the ScTextWnd EditView due to that expectation before it is then unconditionally dereferenced Change-Id: Ied5d8031ae7d74669a2958dbcdec87843a26d384 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121839 Tested-by: Jenkins Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx/weldeditview.hxx')
-rw-r--r--include/svx/weldeditview.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svx/weldeditview.hxx b/include/svx/weldeditview.hxx
index 4593d0ecf26a..004be7b609fb 100644
--- a/include/svx/weldeditview.hxx
+++ b/include/svx/weldeditview.hxx
@@ -68,6 +68,7 @@ public:
virtual bool MouseButtonUp(const MouseEvent& rMEvt) override;
virtual bool KeyInput(const KeyEvent& rKEvt) override;
virtual bool Command(const CommandEvent& rCEvt) override;
+ virtual bool CanFocus() const;
virtual void GetFocus() override;
virtual void LoseFocus() override;
virtual void Resize() override;