tdf#146150 Update test to use dispatch command instead of numerical ID

Change-Id: Ib160576a2a8167cd1cc2cc619b7dd1cbed994a1e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211033
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
This commit is contained in:
ApurvR20
2026-09-24 22:18:05 +02:00
committed by Hossein
parent a942eb4878
commit d1473c1738
+1 -1
View File
@@ -192,7 +192,7 @@ CPPUNIT_TEST_FIXTURE(DispatchTest, testSfxOfficeDispatchDispose)
mxComponent->dispose(); mxComponent->dispose();
util::URL urlSlot; util::URL urlSlot;
urlSlot.Complete = "slot:5598"; urlSlot.Complete = ".uno:JumpToMark";
xParser->parseStrict(urlSlot); xParser->parseStrict(urlSlot);
// crashed with UAF // crashed with UAF
xDisp->dispatch(urlSlot, {}); xDisp->dispatch(urlSlot, {});