diff options
-rw-r--r-- | sw/source/core/unocore/unoparagraph.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/source/core/unocore/unoparagraph.cxx b/sw/source/core/unocore/unoparagraph.cxx index 10f1b3c1c4d1..aa7bc1a70960 100644 --- a/sw/source/core/unocore/unoparagraph.cxx +++ b/sw/source/core/unocore/unoparagraph.cxx @@ -1279,11 +1279,7 @@ void SAL_CALL SwXParagraph::dispose() throw (uno::RuntimeException, std::excepti if (pTxtNode) { SwCursor aCursor( SwPosition( *pTxtNode ), 0, false ); - // select paragraph - { - SwParaSelection aParaSel( aCursor ); - pTxtNode->GetDoc()->getIDocumentContentOperations().DelFullPara(aCursor); - } + pTxtNode->GetDoc()->getIDocumentContentOperations().DelFullPara(aCursor); lang::EventObject const ev(static_cast< ::cppu::OWeakObject&>(*this)); m_pImpl->m_EventListeners.disposeAndClear(ev); } |