[ooo-build-commit] scratch/mso-dumper
Kohei Yoshida
kohei at kemper.freedesktop.org
Mon Jan 4 19:28:23 PST 2010
scratch/mso-dumper/src/xlsrecord.py | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
New commits:
commit c6d2674eed9d8679f33c4d2ed4503a6ba160317a
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Mon Jan 4 22:26:08 2010 -0500
[xls-dump] Store string values for autofilter even when the flag is off.
Even when the flag 'this comparision is simple equality' is off, the
filtering is still valid. That flag is used only for optimization
(as the spec says).
* scratch/mso-dumper/src/xlsrecord.py:
diff --git a/scratch/mso-dumper/src/xlsrecord.py b/scratch/mso-dumper/src/xlsrecord.py
index 34e375d..93d744e 100644
--- a/scratch/mso-dumper/src/xlsrecord.py
+++ b/scratch/mso-dumper/src/xlsrecord.py
@@ -321,11 +321,8 @@ class Autofilter(BaseRecordHandler):
sh = model.getCurrentSheet()
obj = xlsmodel.AutoFilterArrow(self.filterIndex)
obj.isActive = True
- if self.simple1:
- obj.equalString1 = self.string1
-
- if self.simple2:
- obj.equalString1 = self.string2
+ obj.equalString1 = self.string1
+ obj.equalString1 = self.string2
sh.setAutoFilterArrow(self.filterIndex, obj)
# TODO: Pick up more complex states as we need them.
More information about the ooo-build-commit
mailing list