diff options
Diffstat (limited to 'sc/source/filter/xml/xmlwrap.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlwrap.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/filter/xml/xmlwrap.cxx b/sc/source/filter/xml/xmlwrap.cxx index dbe647bc433f..327bf672814c 100644 --- a/sc/source/filter/xml/xmlwrap.cxx +++ b/sc/source/filter/xml/xmlwrap.cxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -155,8 +155,8 @@ sal_uInt32 ScXMLImportWrapper::ImportFromComponent(uno::Reference<lang::XMultiSe // Get data source ... -// uno::Reference< uno::XInterface > xPipe; -// uno::Reference< io::XActiveDataSource > xSource; +// uno::Reference< uno::XInterface > xPipe; +// uno::Reference< io::XActiveDataSource > xSource; sal_Bool bEncrypted = sal_False; rtl::OUString sStream(sDocName); @@ -195,7 +195,7 @@ sal_uInt32 ScXMLImportWrapper::ImportFromComponent(uno::Reference<lang::XMultiSe } } // #99667#; no longer necessary -/* else if ( pMedium ) +/* else if ( pMedium ) { // if there is a medium and if this medium has a load environment, // we get an active data source from the medium. @@ -252,7 +252,7 @@ sal_uInt32 ScXMLImportWrapper::ImportFromComponent(uno::Reference<lang::XMultiSe xParser->setDocumentHandler( xDocHandler ); // parse -/* if( xSource.is() ) +/* if( xSource.is() ) { uno::Reference<io::XActiveDataControl> xSourceControl( xSource, uno::UNO_QUERY ); if( xSourceControl.is() ) @@ -534,8 +534,8 @@ sal_Bool ScXMLImportWrapper::Import(sal_Bool bStylesOnly, ErrCode& nError) sal_uInt32 nSettingsRetval(0); if (!bStylesOnly) { - // Settings must be loaded first because of the printer setting, - // which is needed in the page styles (paper tray). + // Settings must be loaded first because of the printer setting, + // which is needed in the page styles (paper tray). uno::Sequence<uno::Any> aSettingsArgs(1); uno::Any* pSettingsArgs = aSettingsArgs.getArray(); @@ -705,7 +705,7 @@ sal_Bool ScXMLImportWrapper::ExportToComponent(uno::Reference<lang::XMultiServic xOut = xStream->getOutputStream(); } // #99667#; no longer necessary -/* else if ( pMedium ) +/* else if ( pMedium ) { xOut = pMedium->GetDataSink(); }*/ @@ -845,7 +845,7 @@ sal_Bool ScXMLImportWrapper::Export(sal_Bool bStylesOnly) if ( pObjSh && xStorage.is() ) { - pObjSh->UpdateDocInfoForSave(); // update information + pObjSh->UpdateDocInfoForSave(); // update information uno::Reference<frame::XModel> xModel(pObjSh->GetModel()); uno::Reference<task::XStatusIndicator> xStatusIndicator(GetStatusIndicator()); |