About tdf#157884 Typo in UNO command ".uno:UnhainFrame"

Julien Nabet serval2412 at yahoo.fr
Mon Oct 23 07:27:32 UTC 2023


> The typo is there for more than twenty years and macros may depend on it.
Are we sure macros which used "UnhainFrame" were working?

I mean here are the uses of "UnchainFrame":

bin/find-can-be-private-symbols.functions.results:12898:SwFlyFrame::UnchainFrames(SwFlyFrame*, 
SwFlyFrame*)
sw/source/core/inc/flyfrm.hxx:195:    static void UnchainFrames( 
SwFlyFrame *pMaster, SwFlyFrame *pFollow );
sw/source/core/layout/fly.cxx:382:        UnchainFrames( GetPrevLink(), 
this );
sw/source/core/layout/fly.cxx:384:        UnchainFrames( this, 
GetNextLink() );
sw/source/core/layout/fly.cxx:568:void SwFlyFrame::UnchainFrames( 
SwFlyFrame *pMaster, SwFlyFrame *pFollow )
sw/source/core/layout/fly.cxx:1171: SwFlyFrame::UnchainFrames( this, 
GetNextLink());
sw/source/core/layout/fly.cxx:1176: SwFlyFrame::UnchainFrames( 
pFollow->GetPrevLink(),
sw/source/core/layout/fly.cxx:1183: SwFlyFrame::UnchainFrames( this, 
GetNextLink() );
sw/source/core/layout/fly.cxx:1188: SwFlyFrame::UnchainFrames( 
GetPrevLink(), this );
sw/source/core/layout/fly.cxx:1193: SwFlyFrame::UnchainFrames( pMaster,
sw/source/core/layout/fly.cxx:1200: SwFlyFrame::UnchainFrames( 
GetPrevLink(), this );

I don't know how the link would be done between ".uno:UnhainFrame" and 
"UnchainFrame" method.


> Can we change the label but add an alias to the new "unchain" command, flag this
> alias as deprecated, and remove it with the next release?
I don't know how to do this but I suppose other people know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20231023/cb564995/attachment.htm>


More information about the LibreOffice mailing list