diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-19 21:49:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-20 08:17:00 +0100 |
commit | 12f1faf7bf7b236f54f740a9f65646749fc266ee (patch) | |
tree | 92b570339a02ac977907be12dc8e2e49291d177d /svl/source/fsstor/fsstorage.cxx | |
parent | 9e183fbfdbfbe364d17f9d36a0b33d2fae89862d (diff) |
svl: sal_Bool -> bool
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
Diffstat (limited to 'svl/source/fsstor/fsstorage.cxx')
-rw-r--r-- | svl/source/fsstor/fsstorage.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svl/source/fsstor/fsstorage.cxx b/svl/source/fsstor/fsstorage.cxx index 6a43a0ca10d3..728820375152 100644 --- a/svl/source/fsstor/fsstorage.cxx +++ b/svl/source/fsstor/fsstorage.cxx @@ -64,7 +64,7 @@ using namespace ::com::sun::star; // TODO: move to a standard helper -sal_Bool isLocalFile_Impl( OUString aURL ) +bool isLocalFile_Impl( OUString aURL ) { OUString aSystemPath; @@ -160,7 +160,7 @@ FSStorage::~FSStorage() } } -sal_Bool FSStorage::MakeFolderNoUI( const OUString& rFolder ) +bool FSStorage::MakeFolderNoUI( const OUString& rFolder ) { INetURLObject aURL( rFolder ); OUString aTitle = aURL.getName( INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET ); @@ -174,7 +174,7 @@ sal_Bool FSStorage::MakeFolderNoUI( const OUString& rFolder ) aParent ) ) return ::utl::UCBContentHelper::MakeFolder( aParent, aTitle, aResultContent, false ); - return sal_False; + return false; } ::ucbhelper::Content* FSStorage::GetContent() @@ -248,7 +248,7 @@ void FSStorage::CopyContentToStorage_Impl( ::ucbhelper::Content* pContent, const while ( xResultSet->next() ) { OUString aSourceURL( xRow->getString( 1 ) ); - sal_Bool bIsFolder( xRow->getBoolean(2) ); + bool bIsFolder( xRow->getBoolean(2) ); // TODO/LATER: not sure whether the entry name must be encoded OUString aNewEntryName( INetURLObject( aSourceURL ).getName( INetURLObject::LAST_SEGMENT, @@ -558,7 +558,7 @@ uno::Reference< embed::XStorage > SAL_CALL FSStorage::openStorageElement( INetURLObject aFolderURL( m_pImpl->m_aURL ); aFolderURL.Append( aStorName ); - sal_Bool bFolderExists = ::utl::UCBContentHelper::IsFolder( aFolderURL.GetMainURL( INetURLObject::NO_DECODE ) ); + bool bFolderExists = ::utl::UCBContentHelper::IsFolder( aFolderURL.GetMainURL( INetURLObject::NO_DECODE ) ); if ( !bFolderExists && ::utl::UCBContentHelper::IsDocument( aFolderURL.GetMainURL( INetURLObject::NO_DECODE ) ) ) throw io::IOException(); // TODO: |