diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-10-02 19:50:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-10-04 15:00:02 +0200 |
commit | df11dc76e6f085ee02d4dd7e341dbbfdc9573c42 (patch) | |
tree | 9016ef8047a79749c940c48e622a661ae5a38239 /sw/source/uibase/dialog | |
parent | fb0c3f9d8964f8c0f40238559c32d9d73cba6b55 (diff) |
SwDrawContact::GetTextObjectsFromFormat always dereferences is SwDoc* arg
Change-Id: I3e451f0f252626abfb48222ec32a60fe346fe23b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103874
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/dialog')
-rw-r--r-- | sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx index ec4ce8ead6d9..58070eb13352 100644 --- a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx +++ b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx @@ -729,7 +729,7 @@ bool SwSpellDialogChildWindow::FindNextDrawTextError_Impl(SwWrtShell& rSh) if(!m_pSpellState->m_bTextObjectsCollected ) { m_pSpellState->m_bTextObjectsCollected = true; - SwDrawContact::GetTextObjectsFromFormat( m_pSpellState->m_aTextObjects, pDoc ); + SwDrawContact::GetTextObjectsFromFormat(m_pSpellState->m_aTextObjects, *pDoc); if(pCurrentTextObj) { m_pSpellState->m_aTextObjects.remove(pCurrentTextObj); |