diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2023-09-02 20:32:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-09-02 22:49:12 +0200 |
commit | 3c7a35dd28fbc337a23473873b3dd47392b883ae (patch) | |
tree | 1ce3db35db659f2d730e8627eb429193d1807969 /sw | |
parent | 21af3e5b5df02747691f08c453407d0abfc91242 (diff) |
no need to use UNO_QUERY_THROW here
Change-Id: I01b4e401fec1792829fc2efaad5a74a035a418f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156476
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 397bf0cdb205..0bdfdd41f42e 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -1471,7 +1471,7 @@ void SwXTextDocument::InitNewDoc() { // #i91798#, #i91895# // dispose XDrawPage here. We are the owner and know that it is no longer in a valid condition. - Reference<XComponent>(static_cast<cppu::OWeakObject*>(m_xDrawPage.get()), UNO_QUERY_THROW)->dispose(); + m_xDrawPage->dispose(); m_xDrawPage->InvalidateSwDoc(); m_xDrawPage.clear(); } |