summaryrefslogtreecommitdiff
path: root/sw/sdi
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-01-27 17:54:31 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-01-27 20:53:20 +0100
commitd05a65bec5dc498f66f9331189124d539bc0d505 (patch)
tree30d2eb3bba8da16637b5f19d9346f8d551249773 /sw/sdi
parentf9035b6102b6647dd6fc27694cce33593ee50a1e (diff)
tdf#130179 sw comments on frames: limit insert UI for at-char and ...
... as-char anchor types SwWrtShell::InsertPostIt() only sets the comment anchor for those types, and we would crash without an anchor. Change-Id: I7d2f5d3d8f8e11c46db060c17587e97ecb786ad2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87542 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/sdi')
-rw-r--r--sw/sdi/_frmsh.sdi2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/sdi/_frmsh.sdi b/sw/sdi/_frmsh.sdi
index 87df09bb3f5b..83ece0752c74 100644
--- a/sw/sdi/_frmsh.sdi
+++ b/sw/sdi/_frmsh.sdi
@@ -414,7 +414,7 @@ interface BaseTextFrame
FN_POSTIT
[
ExecMethod = ExecField ;
- StateMethod = NoState ;
+ StateMethod = GetState ;
]
}