sw/source/core/txtnode/thints.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e9d056ff4a28a4e7be833c22fd6d1e78f245ee43
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Aug 12 14:20:28 2014 +0200

    Remove invalid and unnecessary downcast
    
    Change-Id: I2c4daa7057a4faf020b96b587c7a8348adeaeb58

diff --git a/sw/source/core/txtnode/thints.cxx 
b/sw/source/core/txtnode/thints.cxx
index d557064..49a260f 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -1119,7 +1119,7 @@ void SwTxtNode::DestroyAttr( SwTxtAttr* pAttr )
                 // zeichengebundener Frames" in fesh.cxx, SwFEShell::DelFmt()
                 SwFrmFmt* pFmt = pAttr->GetFlyCnt().GetFrmFmt();
                 if( pFmt )      // vom Undo auf 0 gesetzt ??
-                    pDoc->DelLayoutFmt( (SwFlyFrmFmt*)pFmt );
+                    pDoc->DelLayoutFmt( pFmt );
             }
             break;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to