New function UNOIDL interface

Juergen Funk Mailinglist Juergen.Funk_ml at cib.de
Tue Mar 22 12:10:07 UTC 2022


Hello

I have this patch https://gerrit.libreoffice.org/c/core/+/130692. When the user performs an "Update All" it is possible that there can be overwrites, via dialog box is pointed out, but when this is canceled, immediately the same query occurs again.
Because there are two updates (for the links and for the OLE object), to distinguish these two updates I have found no other solution than to extend the UNOIDL interface by a function.

Maybe someone has a better solution to not change the UNOIDL interface.


Call-Stack (Link)

OCommonEmbeddedObject::HandleLinkAndTempFileSave line 410 embeddedobj/source/commonembedding/miscobj.cxx
OCommonEmbeddedObject::LoadLink_Impl() line 400 embeddedobj/source/commonembedding/persistence.cxx
OCommonEmbeddedObject::SwitchStateTo_Impl line 179 embeddedobj/source/commonembedding/embedobj.cxx
OCommonEmbeddedObject::changeState line 459 embeddedobj/source/commonembedding/embedobj.cxx
OCommonEmbeddedObject::getPreferredVisualRepresentation line 169 embeddedobj/source/commonembedding/visobj.cxx
comphelper::EmbeddedObjectContainer::GetGraphicReplacementStream line 1429 comphelper/source/container/embeddedobjectcontainer.cxx
svt::EmbeddedObjectRef::GetGraphicReplacementStream line 869 svtools/source/misc/embedhlp.cxx
svt::EmbeddedObjectRef::GetGraphicStream line 676 svtools/source/misc/embedhlp.cxx
svt::EmbeddedObjectRef::GetReplacement line 473 svtools/source/misc/embedhlp.cxx
svt::EmbeddedObjectRef::UpdateReplacement line 891 svtools/source/misc/embedhlp.cxx
SwOLENode::GetNewReplacement line 522 sw/source/core/ole/ndole.cxx
SwEmbedObjectLink::DataChanged line 204 sw/source/core/ole/ndole.cxx
sfx2::SvBaseLink::Update line 320 sfx2/source/appl/lnkbase2.cxx
sfx2::LinkManager::UpdateAllLinks line 344 sfx2/source/appl/linkmgr2.cxx
SwBaseShell::Execute line 823 sw/source/uibase/shells/basesh.cxx



Call-Stack (OLE-Objekt)

OCommonEmbeddedObject::HandleLinkAndTempFileSave line 410 embeddedobj/source/commonembedding/miscobj.cxx
OCommonEmbeddedObject::LoadLink_Impl line 400 embeddedobj/source/commonembedding/persistence.cxx
OCommonEmbeddedObject::SwitchStateTo_Impl line 179  embeddedobj/source/commonembedding/embedobj.cxx
OCommonEmbeddedObject::changeState line 459 embeddedobj/source/commonembedding/embedobj.cxx
OCommonEmbeddedObject::getPreferredVisualRepresentation line 169 embeddedobj/source/commonembedding/visobj.cxx
comphelper::EmbeddedObjectContainer::GetGraphicReplacementStream line 1429
svt::EmbeddedObjectRef::GetGraphicReplacementStream line 869 comphelper/source/container/embeddedobjectcontainer.cxx
svt::EmbeddedObjectRef::GetGraphicStream line 676 svtools/source/misc/embedhlp.cxx
svt::EmbeddedObjectRef::GetReplacement line 473 svtools/source/misc/embedhlp.cxx
svt::EmbeddedObjectRef::UpdateReplacement line 891 svtools/source/misc/embedhlp.cxx
SwViewShell::UpdateOleObjectPreviews line 764 sw/source/core/view/viewsh.cxx
SwBaseShell::Execute line 832 sw/source/uibase/shells/basesh.cxx



Juergen


More information about the LibreOffice mailing list