diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-09 14:12:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-09 14:12:24 +0200 |
commit | 366eae3ad3ed97fc2637066c8a0c66ae0db32ed6 (patch) | |
tree | 5ceaee4b682e4e3652b645ed5e52039e4af49a0e | |
parent | 3eef75bd9d18ed39e93289f8b8f23c269ed0c385 (diff) |
lplugin:redundantcast
Change-Id: I028563d4b93d5671b87f07c63c4b705bbabff676
-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 |