[Libreoffice-commits] .: sc/source

Fridrich Strba fridrich at kemper.freedesktop.org
Mon Jun 6 12:40:25 PDT 2011


 sc/source/filter/xml/xmldrani.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 682b57e479414821478e842c1c32c07d90244de2
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Mon Jun 6 21:40:13 2011 +0200

    Extend the fix from kohei to the other scope

diff --git a/sc/source/filter/xml/xmldrani.cxx b/sc/source/filter/xml/xmldrani.cxx
index bd75821..bef973d 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


More information about the Libreoffice-commits mailing list