Kaydet (Commit) 3ab307e5 authored tarafından Pranav Kant's avatar Pranav Kant Kaydeden (comit) pranavk

lok: Sort ascending/descending is enabled/disabled state

... and not true/false

Change-Id: Ie9ae6cbf70c1934dda1002deabda23c9f461c8b1
Reviewed-on: https://gerrit.libreoffice.org/32085Reviewed-by: 's avatarpranavk <pranavk@collabora.co.uk>
Tested-by: 's avatarpranavk <pranavk@collabora.co.uk>
üst 245b6154
...@@ -1050,15 +1050,15 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c ...@@ -1050,15 +1050,15 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
aEvent.FeatureURL.Path == "EntireRow" || aEvent.FeatureURL.Path == "EntireRow" ||
aEvent.FeatureURL.Path == "EntireColumn" || aEvent.FeatureURL.Path == "EntireColumn" ||
aEvent.FeatureURL.Path == "EntireCell" || 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")); aBuffer.append(aEvent.IsEnabled ? OUString("enabled") : OUString("disabled"));
} }
else if (aEvent.FeatureURL.Path == "InsertPage" || else if (aEvent.FeatureURL.Path == "InsertPage" ||
aEvent.FeatureURL.Path == "DeletePage" || aEvent.FeatureURL.Path == "DeletePage" ||
aEvent.FeatureURL.Path == "DuplicatePage" || aEvent.FeatureURL.Path == "DuplicatePage")
aEvent.FeatureURL.Path == "SortAscending" ||
aEvent.FeatureURL.Path == "SortDescending")
{ {
aBuffer.append(OUString::boolean(aEvent.IsEnabled)); aBuffer.append(OUString::boolean(aEvent.IsEnabled));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment