Kaydet (Commit) 453cf8a4 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

yet another member of SwXTextPortion needs to be guarded in the dtor

Change-Id: Ia1e3febd6a2f0c18c686a04ef5b98ee1ad2d8b88
üst 003ba905
......@@ -140,6 +140,11 @@ SwXTextPortion::~SwXTextPortion()
{
SolarMutexGuard aGuard;
m_pUnoCursor.reset(nullptr);
if(m_FrameDepend.GetRegisteredIn())
{
auto pFrameDepend(const_cast<SwDepend*>(&m_FrameDepend));
pFrameDepend->GetRegisteredIn()->Remove(pFrameDepend);
}
}
uno::Reference< text::XText > SwXTextPortion::getText()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment