path: root/
diff options
authorMiklos Vajna <>2021-01-12 17:10:49 +0100
committerMiklos Vajna <>2021-01-13 17:09:11 +0100
commit69156936693d4e580bd986fc6dbd0026f4f4c2d0 (patch)
treec550974cb900376026ff35e79f52f5fd789b86f0 /
parent7719874bba4e2303953d25178c41a6d6f8c2a149 (diff)
sw edit win: fix read-only selections while handling ExtTextInput
When typing into a protected section (or other read-only area), the code goes through SwEditWin::KeyInput(), which checks for HasReadonlySel(), and calls into sw::DocumentContentOperationsManager::InsertString() in the read-write case. When typing via ExtTextInput (e.g. Online), then SwEditWin::Command() called into sw::DocumentContentOperationsManager::InsertString() without such a check. The convention is to do a read-only check in the first Writer function called by vcl, so handle this in SwEditWin::Command(), to have exactly 1 read-only popup on typing a character. (cherry picked from commit 0c03a97fb8844ad0de1abea79b5265617a509460) Conflicts: sw/qa/extras/tiledrendering/tiledrendering.cxx Change-Id: I7d002e7d76bffeb6f16750de735c5bbf13a7bba9 Reviewed-on: Tested-by: Jenkins CollaboraOffice <> Reviewed-by: Miklos Vajna <>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions