summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorGokul <gswaminathan@kacst.edu.sa>2013-04-15 11:19:21 +0300
committerTor Lillqvist <tml@iki.fi>2013-04-29 06:46:37 +0000
commit40ef445db670fb641532190d17d35818e3bd623d (patch)
treec83690d79397b149011554d2342da5a081cf3930 /svx
parent706e3b8e43df94310b2fe8458da67875073a046c (diff)
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>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/table/tablecontroller.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index cd119105fce3..0358b3c1739d 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();
}
}