diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-22 20:22:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-23 11:07:18 +0200 |
commit | b20fa45bf92d780c56128c574203d01dc095ef95 (patch) | |
tree | 88245acb67e67c828c65f15c4d9785e901eee7b4 /sw | |
parent | 009e7a54f40ebacd9dd4a394504c277789699801 (diff) |
ofz#18454 Bad-cast to SwDrawContact from SwFlyDrawContact
Change-Id: I8fda26909d1e3854d8429dd0b733724266464559
Reviewed-on: https://gerrit.libreoffice.org/81350
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/draw/dcontact.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |