sw/sdi/_textsh.sdi |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 200e2a3c28bdeec785ac389473f5fca6576071a0
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Wed Jan 11 14:24:50 2023 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Thu Jan 12 07:19:51 2023 +0000

    sw, UpdateSections: remove not needed StateMethod
    
    SwTextShell::GetState() doesn't handle FN_UPDATE_SECTIONS at the moment,
    so this is unused.
    
    Noticed by Justin at
    
<https://gerrit.libreoffice.org/c/core/+/145281/2#message-6b432c5700d3c28284c59e507be378e59859bba2>.
    
    Change-Id: If1a95aa0f1cbe83b42f720421d345a3e12f0b97b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145346
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi
index f08e0b21b675..e1b64a45e5d1 100644
--- a/sw/sdi/_textsh.sdi
+++ b/sw/sdi/_textsh.sdi
@@ -160,7 +160,6 @@ interface BaseText
     FN_UPDATE_SECTIONS
     [
         ExecMethod = Execute ;
-        StateMethod = GetState ;
         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
     ]
     FN_SET_REMINDER

Reply via email to