https://bugs.documentfoundation.org/show_bug.cgi?id=33338

--- Comment #15 from Oliver Specht (CIB) <[email protected]> ---
The crash while pasting is caused by GetSelectionType which states:
    // ContentType cannot be determined within a Start-/EndAction.

Due to that it returns a SelectionType::Frame which later runs into trouble. 
The SelectionType needs to be defined when calling InsertCaption()

>       swlo.dll!SwWrtShell::GetSelectionType() Line 1834       C++
        swlo.dll!SwView::InsertCaption(const InsCaptionOpt * pOpt) Line 232    
C++
        swlo.dll!SwView::AutoCaption(const unsigned short nType, const
SvGlobalName * pOleId) Line 205  C++
        swlo.dll!SwWrtShell::InsertOleObject(const svt::EmbeddedObjectRef &
xRef, SwFlyFrameFormat * * pFlyFrameFormat) Line 653        C++
        swlo.dll!SwTransferable::PasteOLE(const TransferableDataHelper & rData,
SwWrtShell & rSh, SotClipboardFormatId nFormat, SotExchangeActionFlags
nActionFlags, bool bMsg) Line 2563       C++

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to