diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2016-12-16 19:23:41 +0530 |
---|---|---|
committer | pranavk <pranavk@collabora.co.uk> | 2016-12-16 15:06:31 +0000 |
commit | 3ab307e568156b0fdafe1ee592870ef8c0e44750 (patch) | |
tree | f23d824ca2a94cef9bff6ab7de4e045afd61a709 /sfx2 | |
parent | 245b615400904274e264d5051baf63b3613db935 (diff) |
lok: Sort ascending/descending is enabled/disabled state
... and not true/false
Change-Id: Ie9ae6cbf70c1934dda1002deabda23c9f461c8b1
Reviewed-on: https://gerrit.libreoffice.org/32085
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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 067619d49aa0..26252a36514e 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1050,15 +1050,15 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c aEvent.FeatureURL.Path == "EntireRow" || aEvent.FeatureURL.Path == "EntireColumn" || aEvent.FeatureURL.Path == "EntireCell" || - aEvent.FeatureURL.Path == "MergeCells") + aEvent.FeatureURL.Path == "MergeCells" || + aEvent.FeatureURL.Path == "SortAscending" || + aEvent.FeatureURL.Path == "SortDescending") { aBuffer.append(aEvent.IsEnabled ? OUString("enabled") : OUString("disabled")); } else if (aEvent.FeatureURL.Path == "InsertPage" || aEvent.FeatureURL.Path == "DeletePage" || - aEvent.FeatureURL.Path == "DuplicatePage" || - aEvent.FeatureURL.Path == "SortAscending" || - aEvent.FeatureURL.Path == "SortDescending") + aEvent.FeatureURL.Path == "DuplicatePage") { aBuffer.append(OUString::boolean(aEvent.IsEnabled)); } |