sw/source/core/unocore/unoobj2.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 366eae3ad3ed97fc2637066c8a0c66ae0db32ed6
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Jun 9 14:12:24 2015 +0200

    lplugin:redundantcast
    
    Change-Id: I028563d4b93d5671b87f07c63c4b705bbabff676

diff --git a/sw/source/core/unocore/unoobj2.cxx 
b/sw/source/core/unocore/unoobj2.cxx
index 5eedef6..a279fb6 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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to