summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-09-09 10:15:01 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2021-09-09 13:29:27 +0200
commit76bb5cb8578bdfe50ce6bef307e628037d938a94 (patch)
treedf7854fed5f8e8ace15a36b9e59c7ab8f47cc2e1 /include
parent71968455be0e696423011775b957d5b738b9f457 (diff)
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/+/121769 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-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;