[Libreoffice-commits] .: sc/source

Noel Power noelp at kemper.freedesktop.org
Tue Mar 22 08:04:38 PDT 2011


 sc/source/filter/excel/excimp8.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 413e2c47021485a32e5f1c24de6b8ee94178fad0
Author: Noel Power <noel.power at novell.com>
Date:   Tue Mar 22 15:03:28 2011 +0000

    get excel vba import to work
    
    use the correct servicename ( seems that is changed in the merge )

diff --git a/sc/source/filter/excel/excimp8.cxx b/sc/source/filter/excel/excimp8.cxx
index 3c7ea79..40b47cd 100644
--- a/sc/source/filter/excel/excimp8.cxx
+++ b/sc/source/filter/excel/excimp8.cxx
@@ -369,7 +369,7 @@ void ImportExcel8::ReadBasic( void )
             aArgs[ 0 ] <<= getProcessServiceFactory();
             aArgs[ 1 ] <<= aArgSeq;
 
-            uno::Reference< document::XImporter > xImporter( ScfApiHelper::CreateInstanceWithArgs( CREATE_OUSTRING( "com.sun.star.comp.oox.ExcelVBAProjectFilter" ), aArgs ), uno::UNO_QUERY_THROW );
+            uno::Reference< document::XImporter > xImporter( ScfApiHelper::CreateInstanceWithArgs( CREATE_OUSTRING( "com.sun.star.comp.oox.xls.ExcelVbaProjectFilter" ), aArgs ), uno::UNO_QUERY_THROW );
             xImporter->setTargetDocument( xComponent );
 
             MediaDescriptor aMediaDesc;


More information about the Libreoffice-commits mailing list