diff options
author | Eike Rathke <erack@redhat.com> | 2013-12-09 23:54:45 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-12-10 00:10:05 +0100 |
commit | e485eede25b01482c7bb3c7808e9feb8f9c9d518 (patch) | |
tree | c4b54f6a03cc7d71ae801d8ab3df509cae0044e0 /sc | |
parent | 09687cf4288b8ef6dbaf4908b3c7ee2ea093d928 (diff) |
be able to read the correct 'sort-ascending' value, fdo#72548
... for <table:content-validation table:display-list='sort-ascending' ...>
but do not write it yet.
Change-Id: I05bdf27cee27f7456b660267b95126420474eb99
(cherry picked from commit 8047ae4a8244199717698f2e2f5281551e97912c)
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlcvali.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/filter/xml/xmlcvali.cxx b/sc/source/filter/xml/xmlcvali.cxx index 92a2f8ddb74a..da0a3f598631 100644 --- a/sc/source/filter/xml/xmlcvali.cxx +++ b/sc/source/filter/xml/xmlcvali.cxx @@ -257,6 +257,12 @@ ScXMLContentValidationContext::ScXMLContentValidationContext( ScXMLImport& rImpo } else if (IsXMLToken(sValue, XML_SORTED_ASCENDING)) { + // Read old wrong value, fdo#72548 + nShowList = sheet::TableValidationVisibility::SORTEDASCENDING; + } + else if (IsXMLToken(sValue, XML_SORT_ASCENDING)) + { + // Read correct value, fdo#72548 nShowList = sheet::TableValidationVisibility::SORTEDASCENDING; } } |