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@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
This commit is contained in:
Gokul
2013-04-15 11:19:21 +03:00
committed by Tor Lillqvist
parent 706e3b8e43
commit 40ef445db6

View File

@@ -756,7 +756,6 @@ void SvxTableController::onFormatTable( SfxRequest& rReq )
SetAttrToSelectedCells(aNewSet, sal_False);
}
UpdateTableShape();
}
}