summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/doc/tblrwcl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx
index dd1856646ed4..6650616aef31 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -1934,7 +1934,7 @@ static void
lcl_CopyLineToDoc(const FndLine_& rFndLine, CpyPara *const pCpyPara)
{
// Find the Frame Format in the list of all Frame Formats
- CpyTabFrame aFindFrame( static_cast<SwTableBoxFormat*>(rFndLine.GetLine()->GetFrameFormat()) );
+ CpyTabFrame aFindFrame( rFndLine.GetLine()->GetFrameFormat() );
CpyTabFrames::const_iterator itFind = pCpyPara->rTabFrameArr.find( aFindFrame );
if( itFind == pCpyPara->rTabFrameArr.end() )
{