sw/source/core/draw/dcontact.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 311941897007f0892fc696ac2ce18ed714ed89a7 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Oct 22 20:22:39 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Oct 23 16:11:11 2019 +0200 ofz#18454 Bad-cast to SwDrawContact from SwFlyDrawContact Change-Id: I8fda26909d1e3854d8429dd0b733724266464559 Reviewed-on: https://gerrit.libreoffice.org/81350 Reviewed-by: Stephan Bergmann <sberg...@redhat.com> Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> (cherry picked from commit b20fa45bf92d780c56128c574203d01dc095ef95) Reviewed-on: https://gerrit.libreoffice.org/81366 Reviewed-by: Michael Stahl <michael.st...@cib.de> diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx index 9efa66eef1bc..2c767c62ff1b 100644 --- a/sw/source/core/draw/dcontact.cxx +++ b/sw/source/core/draw/dcontact.cxx @@ -132,7 +132,7 @@ SwFrameFormat *FindFrameFormat( SdrObject *pObj ) } else { - SwDrawContact* pContact = static_cast<SwDrawContact*>(GetUserCall( pObj )); + SwContact* pContact = GetUserCall(pObj); if ( pContact ) { pRetval = pContact->GetFormat(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits