Bug 157884 - Typo in UNO command ".uno:UnhainFrame"
Summary: Typo in UNO command ".uno:UnhainFrame"
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-22 11:39 UTC by Olivier Hallot
Modified: 2023-10-23 08:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2023-10-22 11:39:10 UTC
The UNO command ".uno:UnhainFrames" seems to bear a typo.


https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu?r=6320a4c2#2639

and, in /workdir/SdiTarget/sw/sdi/swslots.hxx we have


// Slot Nr. 59 : 21737
    SFX_NEW_SLOT_ARG( SwFrameShell,FN_FRAME_UNCHAIN,SfxGroupId::Frame,
                &aSwFrameShellSlots_Impl[1] /*Offset Next*/,
                SFX_STUB_PTR(SwFrameShell,Execute),SFX_STUB_PTR(SwFrameShell,GetState),
                SfxSlotMode::AUTOUPDATE|SfxSlotMode::RECORDPERSET|SfxSlotMode::MENUCONFIG|SfxSlotMode::TOOLBOXCONFIG|SfxSlotMode::NONE,
                SfxDisableFlags::SwOnProtectedCursor,
                SfxVoidItem,
                20/*Offset*/, 0, SfxSlotMode::NONE,"UnhainFrames" ),
Comment 1 Julien Nabet 2023-10-22 12:07:05 UTC
Just Opengroking, I could confirm this.
Comment 2 Julien Nabet 2023-10-22 12:09:44 UTC
I gave a try with https://gerrit.libreoffice.org/c/core/+/158328 but hope we can do this and not stuck because of existing profile or anything.
Comment 3 Julien Nabet 2023-10-23 08:42:42 UTC
Finally added in https://wiki.documentfoundation.org/Development/stuck_stuff
I can't help here so unassign myself.