summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-22 12:55:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-22 12:55:46 +0100
commitbc13ad8d5f4c530f8ed8174c8e4fcfd06c972457 (patch)
tree6b15d511ee2d6cfde43067ef108c1802d90f3d25
parentd26ba19006596d7e97e68dfcca38305c4fc1700f (diff)
Actually remove the now-unnecessary, bad downcast
...after 8aa37ca1b94a340c0ca3dc4edebdc501edc25cf5 "ubsan SwTableBoxFormat is really SwTableLineFormat" Change-Id: I24d092a6cb4d3642e22045acde7eeffaf908075e
-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() )
{