[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Mon Jan 22 11:56:59 UTC 2018
sw/source/core/doc/tblrwcl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bc13ad8d5f4c530f8ed8174c8e4fcfd06c972457
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jan 22 12:55:46 2018 +0100
Actually remove the now-unnecessary, bad downcast
...after 8aa37ca1b94a340c0ca3dc4edebdc501edc25cf5 "ubsan SwTableBoxFormat is
really SwTableLineFormat"
Change-Id: I24d092a6cb4d3642e22045acde7eeffaf908075e
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() )
{
More information about the Libreoffice-commits
mailing list