diff options
author | Eike Rathke <erack@redhat.com> | 2013-12-09 23:54:45 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-12-09 23:57:38 +0100 |
commit | 8047ae4a8244199717698f2e2f5281551e97912c (patch) | |
tree | eaad13bdad092f7bb4367555d59c156f148d8572 | |
parent | b0e66c05aff05843e6ca76aebc851671cb1d05ef (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
-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; } } |