sdext/source/minimizer/impoptimizer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1aa57f44c0d37ef23551943a64211dea17903873 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Dec 9 11:31:18 2021 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Dec 9 14:50:12 2021 +0100 change use of wrong slot id to name of correct command slot was introduced with commit 27452a082237065ac4cf475c8398241907164b2c Date: Wed Oct 10 14:32:04 2007 +0000 INTEGRATION: CWS pppopt02 (1.24.74); FILE MERGED 2007/09/28 14:52:06 sj 1.24.74.1: added slot to be able to clear the undomanager as 27115, but got renumbered to 27118 with commit 35fe915b7cf508356a88897d520b89fc986407fb Date: Wed Jun 10 15:47:52 2015 +0200 Fix sd ID conflicts and duplicates using its name is verified to call the expected handler for it Change-Id: I656d91937612b0807353455930328aa37d5eecb7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126581 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sdext/source/minimizer/impoptimizer.cxx b/sdext/source/minimizer/impoptimizer.cxx index cf8b875ebe21..7de159177979 100644 --- a/sdext/source/minimizer/impoptimizer.cxx +++ b/sdext/source/minimizer/impoptimizer.cxx @@ -658,7 +658,7 @@ void ImpOptimizer::Optimize( const Sequence< PropertyValue >& rArguments ) Reference< XFrame > xFrame( xSelf.is() ? xSelf : mxInformationDialog ); if ( xFrame.is() ) { - DispatchURL( mxContext, "slot:27115", xFrame ); + DispatchURL(mxContext, ".uno:ClearUndoStack", xFrame); } }