diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-28 13:38:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-28 15:41:47 +0200 |
commit | 000f4c983d1b6c1bbaff3998494dabbb44a64120 (patch) | |
tree | e5efeb76b245499276d3b8554404068e1899eb9d /sfx2 | |
parent | 6641682ee9a62a1d8929b1f243f856494678dcdb (diff) |
IsDisposed->isDisposed in sfx2
Change-Id: Ie717cd4ad051facdf2bcee3e521cd6e42f59003f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116328
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objserv.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/lokhelper.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index abb960ff5ffb..4d8b13e324ef 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -1468,7 +1468,7 @@ void SfxObjectShell::GetState_Impl(SfxItemSet &rSet) if ( !sMessage.isEmpty() ) { auto pInfoBar = pFrame->AppendInfoBar("signature", "", sMessage, aInfobarType); - if (pInfoBar == nullptr || pInfoBar->IsDisposed()) + if (pInfoBar == nullptr || pInfoBar->isDisposed()) return; weld::Button& rBtn = pInfoBar->addButton(); rBtn.set_label(SfxResId(STR_SIGNATURE_SHOW)); diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx index 389c45392b46..415351d37db3 100644 --- a/sfx2/source/view/lokhelper.cxx +++ b/sfx2/source/view/lokhelper.cxx @@ -613,7 +613,7 @@ namespace void LOKPostAsyncEvent(void* pEv, void*) { std::unique_ptr<LOKAsyncEventData> pLOKEv(static_cast<LOKAsyncEventData*>(pEv)); - if (pLOKEv->mpWindow->IsDisposed()) + if (pLOKEv->mpWindow->isDisposed()) { return; } @@ -682,7 +682,7 @@ namespace void postEventAsync(LOKAsyncEventData *pEvent) { - if (!pEvent->mpWindow || pEvent->mpWindow->IsDisposed()) + if (!pEvent->mpWindow || pEvent->mpWindow->isDisposed()) { SAL_WARN("vcl", "Async event post - but no valid window as destination " << pEvent->mpWindow.get()); delete pEvent; |