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:
@@ -756,7 +756,6 @@ void SvxTableController::onFormatTable( SfxRequest& rReq )
|
||||
|
||||
SetAttrToSelectedCells(aNewSet, sal_False);
|
||||
}
|
||||
UpdateTableShape();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user