summaryrefslogtreecommitdiff
path: root/svl/source/fsstor/fsfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/fsstor/fsfactory.cxx')
-rw-r--r--svl/source/fsstor/fsfactory.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/svl/source/fsstor/fsfactory.cxx b/svl/source/fsstor/fsfactory.cxx
index 6da26ece8381..0210e6be909e 100644
--- a/svl/source/fsstor/fsfactory.cxx
+++ b/svl/source/fsstor/fsfactory.cxx
@@ -2,7 +2,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
@@ -83,12 +83,12 @@ uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstance()
if ( !aTempURL.getLength() )
throw uno::RuntimeException(); // TODO: can not create tempfile
- ::ucbhelper::Content aResultContent(
+ ::ucbhelper::Content aResultContent(
aTempURL, uno::Reference< ucb::XCommandEnvironment >() );
- return uno::Reference< uno::XInterface >(
- static_cast< OWeakObject* >(
- new FSStorage( aResultContent,
+ return uno::Reference< uno::XInterface >(
+ static_cast< OWeakObject* >(
+ new FSStorage( aResultContent,
embed::ElementModes::READWRITE,
uno::Sequence< beans::PropertyValue >(),
m_xFactory ) ),
@@ -148,7 +148,7 @@ uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstanceWithA
// retrieve mediadescriptor and set storage properties
uno::Sequence< beans::PropertyValue > aDescr;
uno::Sequence< beans::PropertyValue > aPropsToSet;
-
+
if ( nArgNum >= 3 )
{
if( aArguments[2] >>= aDescr )
@@ -192,14 +192,14 @@ uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstanceWithA
else if ( !::utl::UCBContentHelper::IsFolder( aURL ) )
throw io::IOException(); // there is no such folder
- ::ucbhelper::Content aResultContent(
+ ::ucbhelper::Content aResultContent(
aURL, uno::Reference< ucb::XCommandEnvironment >() );
// create storage based on source
- return uno::Reference< uno::XInterface >(
- static_cast< OWeakObject* >( new FSStorage( aResultContent,
- nStorageMode,
- aPropsToSet,
+ return uno::Reference< uno::XInterface >(
+ static_cast< OWeakObject* >( new FSStorage( aResultContent,
+ nStorageMode,
+ aPropsToSet,
m_xFactory ) ),
uno::UNO_QUERY );
}
@@ -251,7 +251,7 @@ SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo (
uno::Reference< registry::XRegistryKey > xNewKey;
xNewKey = xRegistryKey->createKey(
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/") ) +
+ ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/") ) +
FSStorageFactory::impl_staticGetImplementationName() +
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/UNO/SERVICES")));