svx/source/table/tablecontroller.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d10feea38e0770db56237be16236f7ea9f9712fa
Author:     Tomaž Vajngerl <[email protected]>
AuthorDate: Wed Oct 2 11:16:47 2019 +0200
Commit:     Tomaž Vajngerl <[email protected]>
CommitDate: Wed Oct 2 14:35:58 2019 +0200

    tdf#126959 fix mistake in table row/column resizing
    
    A mistake when merging from master.
    
    Change-Id: Ia0b06523b6055c99d08a20a5c9a01eaae628ea3e
    Reviewed-on: https://gerrit.libreoffice.org/80013
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Tomaž Vajngerl <[email protected]>

diff --git a/svx/source/table/tablecontroller.cxx 
b/svx/source/table/tablecontroller.cxx
index bd77eb18e360..caf0d321fc41 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -1457,7 +1457,7 @@ void SvxTableController::changeTableEdge(const 
SfxRequest& rReq)
         const sal_Int32 nOffset = convertTwipToMm100(pOffset->GetValue());
 
         SdrTableObj* pTableObj = dynamic_cast<SdrTableObj*>(mxTableObj.get());
-        if (pTableObj)
+        if (!pTableObj)
             return;
 
         sal_Int32 nEdgeIndex = -1;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to