[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Oct 23 14:12:16 UTC 2019
sw/source/core/draw/dcontact.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 311941897007f0892fc696ac2ce18ed714ed89a7
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Oct 22 20:22:39 2019 +0100
Commit: Caolán McNamara <caolanm at 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 <sbergman at redhat.com>
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
(cherry picked from commit b20fa45bf92d780c56128c574203d01dc095ef95)
Reviewed-on: https://gerrit.libreoffice.org/81366
Reviewed-by: Michael Stahl <michael.stahl at 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();
More information about the Libreoffice-commits
mailing list