summaryrefslogtreecommitdiff
path: root/fileaccess
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2000-10-31 09:15:47 +0000
committerKai Sommerfeld <kso@openoffice.org>2000-10-31 09:15:47 +0000
commit35b7819a978ea7fdef64e631f37df43411a26712 (patch)
tree8f051c9c7c092c41c0263a902325640c266eb073 /fileaccess
parenta426b8961f322213a04ae66e94857dbe1f36941f (diff)
Fixed: Typo in XContentAccess::queryContentIdentifierString() - the
second 'i' was missing.
Diffstat (limited to 'fileaccess')
-rw-r--r--fileaccess/source/FileAccess.cxx68
1 files changed, 34 insertions, 34 deletions
diff --git a/fileaccess/source/FileAccess.cxx b/fileaccess/source/FileAccess.cxx
index 9d6fe95a96..280c8341b1 100644
--- a/fileaccess/source/FileAccess.cxx
+++ b/fileaccess/source/FileAccess.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: FileAccess.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: ab $ $Date: 2000-10-19 07:25:37 $
+ * last change: $Author: kso $ $Date: 2000-10-31 10:15:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -163,13 +163,13 @@ class OActiveDataSink : public ActiveDataSinkHelper
public:
// Methods
- virtual void SAL_CALL setInputStream( const Reference< XInputStream >& aStream )
+ virtual void SAL_CALL setInputStream( const Reference< XInputStream >& aStream )
throw(RuntimeException);
- virtual Reference< XInputStream > SAL_CALL getInputStream( )
+ virtual Reference< XInputStream > SAL_CALL getInputStream( )
throw(RuntimeException);
};
-void OActiveDataSink::setInputStream( const Reference< XInputStream >& aStream )
+void OActiveDataSink::setInputStream( const Reference< XInputStream >& aStream )
throw(RuntimeException)
{
mxStream = aStream;
@@ -194,13 +194,13 @@ class OActiveDataSource : public ActiveDataSourceHelper
public:
// Methods
- virtual void SAL_CALL setOutputStream( const Reference< XOutputStream >& aStream )
+ virtual void SAL_CALL setOutputStream( const Reference< XOutputStream >& aStream )
throw(RuntimeException);
- virtual Reference< XOutputStream > SAL_CALL getOutputStream()
+ virtual Reference< XOutputStream > SAL_CALL getOutputStream()
throw(RuntimeException);
};
-void OActiveDataSource::setOutputStream( const Reference< XOutputStream >& aStream )
+void OActiveDataSource::setOutputStream( const Reference< XOutputStream >& aStream )
throw(RuntimeException)
{
mxStream = aStream;
@@ -225,13 +225,13 @@ class OActiveDataStreamer : public ActiveDataStreamerHelper
public:
// Methods
- virtual void SAL_CALL setStream( const Reference< XStream >& aStream )
+ virtual void SAL_CALL setStream( const Reference< XStream >& aStream )
throw(RuntimeException);
- virtual Reference< XStream > SAL_CALL getStream()
+ virtual Reference< XStream > SAL_CALL getStream()
throw(RuntimeException);
};
-void OActiveDataStreamer::setStream( const Reference< XStream >& aStream )
+void OActiveDataStreamer::setStream( const Reference< XStream >& aStream )
throw(RuntimeException)
{
mxStream = aStream;
@@ -261,19 +261,19 @@ public:
}
// Methods
- virtual Reference< XInteractionHandler > SAL_CALL getInteractionHandler()
+ virtual Reference< XInteractionHandler > SAL_CALL getInteractionHandler()
throw(RuntimeException);
- virtual Reference< XProgressHandler > SAL_CALL getProgressHandler()
+ virtual Reference< XProgressHandler > SAL_CALL getProgressHandler()
throw(RuntimeException);
};
-Reference< XInteractionHandler > OCommandEnvironment::getInteractionHandler()
+Reference< XInteractionHandler > OCommandEnvironment::getInteractionHandler()
throw(RuntimeException)
{
return mxInteraction;
}
-Reference< XProgressHandler > OCommandEnvironment::getProgressHandler()
+Reference< XProgressHandler > OCommandEnvironment::getProgressHandler()
throw(RuntimeException)
{
Reference< XProgressHandler > xRet;
@@ -299,7 +299,7 @@ void OFileAccess::transferImpl( const OUString& rSource, const OUString& rDest,
::com::sun::star::ucb::NameClash::OVERWRITE ) ) );
}
-void OFileAccess::copy( const OUString& SourceURL, const OUString& DestURL )
+void OFileAccess::copy( const OUString& SourceURL, const OUString& DestURL )
throw(CommandAbortedException, Exception, RuntimeException)
{
transferImpl( SourceURL, DestURL, sal_False );
@@ -311,7 +311,7 @@ void OFileAccess::move( const OUString& SourceURL, const OUString& DestURL )
transferImpl( SourceURL, DestURL, sal_True );
}
-void OFileAccess::kill( const OUString& FileURL )
+void OFileAccess::kill( const OUString& FileURL )
throw(CommandAbortedException, Exception, RuntimeException)
{
// SfxContentHelper::Kill
@@ -320,7 +320,7 @@ void OFileAccess::kill( const OUString& FileURL )
aCnt.executeCommand( OUString::createFromAscii( "delete" ), makeAny( sal_Bool( sal_True ) ) );
}
-sal_Bool OFileAccess::isFolder( const OUString& FileURL )
+sal_Bool OFileAccess::isFolder( const OUString& FileURL )
throw(CommandAbortedException, Exception, RuntimeException)
{
sal_Bool bRet = sal_False;
@@ -336,7 +336,7 @@ sal_Bool OFileAccess::isFolder( const OUString& FileURL )
return bRet;
}
-sal_Bool OFileAccess::isReadOnly( const OUString& FileURL )
+sal_Bool OFileAccess::isReadOnly( const OUString& FileURL )
throw(CommandAbortedException, Exception, RuntimeException)
{
INetURLObject aURLObj( FileURL, INET_PROT_FILE );
@@ -347,7 +347,7 @@ sal_Bool OFileAccess::isReadOnly( const OUString& FileURL )
return bRet;
}
-void OFileAccess::setReadOnly( const OUString& FileURL, sal_Bool bReadOnly )
+void OFileAccess::setReadOnly( const OUString& FileURL, sal_Bool bReadOnly )
throw(CommandAbortedException, Exception, RuntimeException)
{
INetURLObject aURLObj( FileURL, INET_PROT_FILE );
@@ -385,7 +385,7 @@ void OFileAccess::createFolder( const OUString& NewFolderURL )
aCnt.insertNewContent( aType, aNames, aValues, aNewFolder );
}
-sal_Int32 OFileAccess::getSize( const OUString& FileURL )
+sal_Int32 OFileAccess::getSize( const OUString& FileURL )
throw(CommandAbortedException, Exception, RuntimeException)
{
// SfxContentHelper::GetSize
@@ -409,7 +409,7 @@ OUString OFileAccess::getContentType( const OUString& FileURL )
return aTypeStr;
}
-DateTime OFileAccess::getDateTimeModified( const OUString& FileURL )
+DateTime OFileAccess::getDateTimeModified( const OUString& FileURL )
throw(CommandAbortedException, Exception, RuntimeException)
{
INetURLObject aFileObj( FileURL, INET_PROT_FILE );
@@ -424,7 +424,7 @@ DateTime OFileAccess::getDateTimeModified( const OUString& FileURL )
DECLARE_LIST( StringList_Impl, OUString* )
-Sequence< OUString > OFileAccess::getFolderContents( const OUString& FolderURL, sal_Bool bIncludeFolders )
+Sequence< OUString > OFileAccess::getFolderContents( const OUString& FolderURL, sal_Bool bIncludeFolders )
throw(CommandAbortedException, Exception, RuntimeException)
{
// SfxContentHelper::GetFolderContents
@@ -448,7 +448,7 @@ Sequence< OUString > OFileAccess::getFolderContents( const OUString& FolderURL,
while ( xResultSet->next() )
{
- OUString aId = xContentAccess->queryContentIdentfierString();
+ OUString aId = xContentAccess->queryContentIdentifierString();
OUString* pFile = new OUString( aId );
pFiles->Insert( pFile, LIST_APPEND );
}
@@ -472,7 +472,7 @@ Sequence< OUString > OFileAccess::getFolderContents( const OUString& FolderURL,
return Sequence < OUString > ();
}
-sal_Bool OFileAccess::exists( const OUString& FileURL )
+sal_Bool OFileAccess::exists( const OUString& FileURL )
throw(CommandAbortedException, Exception, RuntimeException)
{
sal_Bool bRet = sal_False;
@@ -493,7 +493,7 @@ sal_Bool OFileAccess::exists( const OUString& FileURL )
return bRet;
}
-Reference< XInputStream > OFileAccess::openFileRead( const OUString& FileURL )
+Reference< XInputStream > OFileAccess::openFileRead( const OUString& FileURL )
throw(CommandAbortedException, Exception, RuntimeException)
{
Reference< XInputStream > xRet;
@@ -507,7 +507,7 @@ Reference< XInputStream > OFileAccess::openFileRead( const OUString& FileURL )
return xRet;
}
-Reference< XOutputStream > OFileAccess::openFileWrite( const OUString& FileURL )
+Reference< XOutputStream > OFileAccess::openFileWrite( const OUString& FileURL )
throw(CommandAbortedException, Exception, RuntimeException)
{
Reference< XOutputStream > xRet;
@@ -517,7 +517,7 @@ Reference< XOutputStream > OFileAccess::openFileWrite( const OUString& FileURL )
return xRet;
}
-Reference< XStream > OFileAccess::openFileReadWrite( const OUString& FileURL )
+Reference< XStream > OFileAccess::openFileReadWrite( const OUString& FileURL )
throw(CommandAbortedException, Exception, RuntimeException)
{
InsertCommandArgument aInsertArg;
@@ -609,12 +609,12 @@ sal_Bool SAL_CALL component_writeInfo(
Reference< XRegistryKey > xNewKey(
reinterpret_cast< XRegistryKey * >( pRegistryKey )->createKey(
OUString::createFromAscii("/" IMPLEMENTATION_NAME "/UNO/SERVICES" ) ) );
-
+
const Sequence< OUString > & rSNL = io_FileAccess::FileAccess_getSupportedServiceNames();
const OUString * pArray = rSNL.getConstArray();
for ( sal_Int32 nPos = rSNL.getLength(); nPos--; )
xNewKey->createKey( pArray[nPos] );
-
+
return sal_True;
}
catch (InvalidRegistryException &)
@@ -629,22 +629,22 @@ void * SAL_CALL component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
{
void * pRet = 0;
-
+
if (pServiceManager && rtl_str_compare( pImplName, IMPLEMENTATION_NAME ) == 0)
{
Reference< XSingleServiceFactory > xFactory( createSingleFactory(
reinterpret_cast< XMultiServiceFactory * >( pServiceManager ),
OUString::createFromAscii( pImplName ),
- io_FileAccess::FileAccess_CreateInstance,
+ io_FileAccess::FileAccess_CreateInstance,
io_FileAccess::FileAccess_getSupportedServiceNames() ) );
-
+
if (xFactory.is())
{
xFactory->acquire();
pRet = xFactory.get();
}
}
-
+
return pRet;
}
}