[Libreoffice-commits] core.git: sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 23 09:08:32 UTC 2019


 sw/source/core/draw/dcontact.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b20fa45bf92d780c56128c574203d01dc095ef95
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 11:07:18 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>

diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx
index f30b076cb683..1fae4c0d64c4 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