[Libreoffice-commits] .: Branch 'libreoffice-3-3' - oox/source

Muthu Subramanian sumuthu at kemper.freedesktop.org
Mon Nov 22 02:30:57 PST 2010


 oox/source/xls/excelfilter.cxx |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 8df6a51090ad41cad7c0906b166fe3c6f045bf50
Author: Muthu Subramanian K <sumuthu at novell.com>
Date:   Mon Nov 22 15:55:48 2010 +0530

    Missing call to importDocumentProperties() n#655194

diff --git a/oox/source/xls/excelfilter.cxx b/oox/source/xls/excelfilter.cxx
index b5b3dc6..1285029 100644
--- a/oox/source/xls/excelfilter.cxx
+++ b/oox/source/xls/excelfilter.cxx
@@ -129,7 +129,12 @@ bool ExcelFilter::importDocument() throw()
         return false;
         
     WorkbookHelperRoot aHelper( *this );
-    return aHelper.isValid() && importFragment( new OoxWorkbookFragment( aHelper, aWorkbookPath ) );
+    if( aHelper.isValid() && importFragment( new OoxWorkbookFragment( aHelper, aWorkbookPath ) ) )
+    {
+        importDocumentProperties();
+        return true;
+    }
+    return false;
 }
 
 bool ExcelFilter::exportDocument() throw()


More information about the Libreoffice-commits mailing list