diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-01-21 01:03:34 +0530 |
---|---|---|
committer | pranavk <pranavk@collabora.co.uk> | 2017-01-23 06:47:34 +0000 |
commit | a27e09079596eeae81cced01eaeabf94d6675085 (patch) | |
tree | 9117256d779b298aa5e572e8aac62dd1aff99c4a /sfx2 | |
parent | 115797f070888cbad93656dda8fa01ec6c98a3f5 (diff) |
lok: Listen for state change events for cell alignment commands
We used to use HorizontalAlignment uno command for cell alignment
both in online and gtktiledviewer. To make things simpler, lets
use separate cell alignment uno commands for spreadsheets like we
have in writer and impres.
Change-Id: I2a959d1892f6b02db7a9ce51d55309216e4b3c6c
Reviewed-on: https://gerrit.libreoffice.org/33444
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 03f76373f424..33d5314ff262 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -996,7 +996,10 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c aEvent.FeatureURL.Path == "Underline" || aEvent.FeatureURL.Path == "ModifiedStatus" || aEvent.FeatureURL.Path == "TrackChanges" || - aEvent.FeatureURL.Path == "AcceptTrackedChange") + aEvent.FeatureURL.Path == "AcceptTrackedChange" || + aEvent.FeatureURL.Path == "AlignLeft" || + aEvent.FeatureURL.Path == "AlignHorizontalCenter" || + aEvent.FeatureURL.Path == "AlignRight") { bool bTemp = false; aEvent.State >>= bTemp; |