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

Gokul gswaminathan at kacst.edu.sa
Sun Apr 28 23:46:57 PDT 2013


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

New commits:
commit 40ef445db670fb641532190d17d35818e3bd623d
Author: Gokul <gswaminathan at kacst.edu.sa>
Date:   Mon Apr 15 11:19:21 2013 +0300

    UpdateTableShape() is called when we call SetAttrToSelectedCells method
    
    IMO Calling this method again is not required. The If Blocks returns
    false when User Clicks "Cancel" Button in "Format Cell" Widget,
    IMO on Cancel Their is no need to Update the table. And on Ok
    SetAttrToSelectedCells method is called which inturn calls
    UpdateTableShape() method.
    
    Change-Id: I2bb0bb616cc978717a1494e01f257631aadd613c
    Reviewed-on: https://gerrit.libreoffice.org/3391
    Reviewed-by: Tor Lillqvist <tml at iki.fi>
    Tested-by: Tor Lillqvist <tml at iki.fi>

diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index cd11910..0358b3c 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -756,7 +756,6 @@ void SvxTableController::onFormatTable( SfxRequest& rReq )
 
             SetAttrToSelectedCells(aNewSet, sal_False);
         }
-        UpdateTableShape();
     }
 }
 


More information about the Libreoffice-commits mailing list