summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-12 14:20:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-12 14:20:28 +0200
commite9d056ff4a28a4e7be833c22fd6d1e78f245ee43 (patch)
treef95153d0f526dcc4b909a0ad3d2044f9909f4ccd /sw
parent8c51532289db36337c4984baec1bf5a7ca9e40af (diff)
Remove invalid and unnecessary downcast
Change-Id: I2c4daa7057a4faf020b96b587c7a8348adeaeb58
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/txtnode/thints.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index d557064761ca..49a260f332af 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;