summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-06-06 21:40:13 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-06-06 21:40:13 +0200
commit97b39ca8053e94a906336868a62acdd993776051 (patch)
treec8962e30b0e2da9139ef4a31059c485174970a57 /sc/source
parente72cffd9330d88c8ca314273130ebce918727e28 (diff)
Extend the fix from kohei to the other scope
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/filter/xml/xmldrani.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/filter/xml/xmldrani.cxx b/sc/source/filter/xml/xmldrani.cxx
index 3f41cb3b3b5f..25230f6fd47d 100644
--- a/sc/source/filter/xml/xmldrani.cxx
+++ b/sc/source/filter/xml/xmldrani.cxx
@@ -499,6 +499,9 @@ void ScXMLDatabaseRangeContext::EndElement()
if (pData.get())
{
+ ScRange aRange;
+ pData->GetArea(aRange);
+
if (setAutoFilterFlags(*pDoc, *pData))
pDoc->SetAnonymousDBData(aRange.aStart.Tab(), pData.release());
else