dbaccess/source/ui/browser/brwctrlr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c8f9ede9ecd14ed2679d51fe4c1cc3ed1496c75e
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Thu Mar 20 10:23:21 2025 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu Mar 20 11:13:49 2025 +0100

    tdf#165815 Base crashes on saving edited table
    
    thanks to adamseskunas for finding the source file that contained the
    bug
    
    regression from
        commit 09e2627a83d4769983c39fb2cb260e11fce354f3
        Author: Noel Grandin <noel.gran...@collabora.co.uk>
        Date:   Mon Feb 17 11:06:55 2025 +0200
        use more concrete UNO types in some local vars
    
    Change-Id: I6884e5b7b20e45e3e7cfd11d5aa20d6e03ae34d9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183151
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    Tested-by: Jenkins

diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx 
b/dbaccess/source/ui/browser/brwctrlr.cxx
index 46dc03d2fee6..3a3927a2dfe7 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -2197,7 +2197,7 @@ bool SbaXDataBrowserController::CommitCurrent()
 
     rtl::Reference< SbaXGridControl >  
xActiveControl(getBrowserView()->getGridControl());
     Reference< css::form::XBoundControl >  
xLockingTest(static_cast<cppu::OWeakObject*>(xActiveControl.get()), UNO_QUERY);
-    bool bControlIsLocked = xActiveControl.is() && xLockingTest->getLock();
+    bool bControlIsLocked = xLockingTest.is() && xLockingTest->getLock();
     if (xActiveControl.is() && !bControlIsLocked)
     {
         if (!xActiveControl->commit())

Reply via email to