sfx2/source/doc/objserv.cxx    |    2 +-
 sfx2/source/view/lokhelper.cxx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 000f4c983d1b6c1bbaff3998494dabbb44a64120
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Fri May 28 13:38:40 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri May 28 15:41:47 2021 +0200

    IsDisposed->isDisposed in sfx2
    
    Change-Id: Ie717cd4ad051facdf2bcee3e521cd6e42f59003f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116328
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to