diff options
-rw-r--r-- | sw/source/core/unocore/unoobj2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx index 5eedef608321..a279fb6a93f8 100644 --- a/sw/source/core/unocore/unoobj2.cxx +++ b/sw/source/core/unocore/unoobj2.cxx @@ -1682,8 +1682,8 @@ bool SwXParaFrameEnumerationImpl::CreateNextObject() if (!m_vFrames.size()) return false; - SwFrameFormat* const pFormat = static_cast<SwFrameFormat*>(const_cast<SwModify*>( - m_vFrames.front()->GetRegisteredIn())); + SwFrameFormat* const pFormat = static_cast<SwFrameFormat*>( + m_vFrames.front()->GetRegisteredIn()); m_vFrames.pop_front(); // the format should be valid here, otherwise the client // would have been removed by PurgeFrameClients |