[Libreoffice-commits] core.git: Branch 'libreoffice-4-1-4' - sc/source
Eike Rathke
erack at redhat.com
Tue Dec 10 04:06:25 PST 2013
sc/source/filter/xml/xmlcvali.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit a231567481525384cbce9d49c2e3e425ecdd40ce
Author: Eike Rathke <erack at redhat.com>
Date: Mon Dec 9 23:54:45 2013 +0100
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)
Reviewed-on: https://gerrit.libreoffice.org/7017
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
Tested-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/sc/source/filter/xml/xmlcvali.cxx b/sc/source/filter/xml/xmlcvali.cxx
index 2d634ae..d7f973d 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;
}
}
More information about the Libreoffice-commits
mailing list