[Libreoffice-commits] core.git: sc/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Thu May 27 17:46:24 UTC 2021


 sc/source/ui/app/inputhdl.cxx        |    2 +-
 sc/source/ui/vba/vbaeventshelper.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 832f04d1f78e54bb84c641c11cf90aa2f953fc17
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed May 26 11:00:26 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu May 27 19:45:43 2021 +0200

    IsDisposed->isDisposed in sc
    
    Change-Id: Ie08509df7481a9128c865f19d2b45694b19d9f38
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116179
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 2ef4df79dc4e..ab68cdac40c2 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -2236,7 +2236,7 @@ void ScInputHandler::SetInputWindow(  ScInputWindow* pNew )
 
 void ScInputHandler::StopInputWinEngine( bool bAll )
 {
-    if (pInputWin && !pInputWin->IsDisposed())
+    if (pInputWin && !pInputWin->isDisposed())
         pInputWin->StopEditEngine( bAll );
 
     pTopView = nullptr; // invalid now
diff --git a/sc/source/ui/vba/vbaeventshelper.cxx b/sc/source/ui/vba/vbaeventshelper.cxx
index 4fd2fab73f80..760d1002c868 100644
--- a/sc/source/ui/vba/vbaeventshelper.cxx
+++ b/sc/source/ui/vba/vbaeventshelper.cxx
@@ -491,7 +491,7 @@ IMPL_LINK( ScVbaEventListener, processWindowResizeEvent, void*, p, void )
         This is handled via the disposing() function which removes the window
         pointer from the member maControllers. Thus, checking whether
         maControllers contains pWindow ensures that the window is still alive. */
-    if( !mbDisposed && pWindow && !pWindow->IsDisposed() && (maControllers.count(pWindow) > 0) )
+    if( !mbDisposed && pWindow && !pWindow->isDisposed() && (maControllers.count(pWindow) > 0) )
     {
         // do not fire event unless all mouse buttons have been released
         vcl::Window::PointerState aPointerState = pWindow->GetPointerState();


More information about the Libreoffice-commits mailing list