diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
commit | 97eb00c75e173d4c8d0b483a7941ad3d2f23783e (patch) | |
tree | 7974a8b9423c56982646366b0859dfb2a1a88d50 /ucb/source/ucp/file/filtask.cxx | |
parent | d0a99cc2ed76be220f7e868e332ba19f6e48a440 (diff) |
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'ucb/source/ucp/file/filtask.cxx')
-rw-r--r-- | ucb/source/ucp/file/filtask.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/file/filtask.cxx b/ucb/source/ucp/file/filtask.cxx index 20092bc7fb71..e78bb9ed46eb 100644 --- a/ucb/source/ucp/file/filtask.cxx +++ b/ucb/source/ucp/file/filtask.cxx @@ -1377,7 +1377,7 @@ bool getType( TaskManager & task, sal_Int32 id, OUString const & fileUrl, osl::DirectoryItem * item, osl::FileStatus::Type * type) { - assert(item != nullptr && type != nullptr); + OSL_ASSERT(item != nullptr && type != nullptr); osl::FileBase::RC err = osl::DirectoryItem::get(fileUrl, *item); if (err != osl::FileBase::E_None) { task.installError(id, TASKHANDLING_TRANSFER_BY_COPY_SOURCE, err); @@ -2935,7 +2935,7 @@ TaskManager::erasePersistentSet( const OUString& aUnqPath, { if( ! m_xFileRegistry.is() ) { - assert( m_xFileRegistry.is() ); + OSL_ASSERT( m_xFileRegistry.is() ); return; } @@ -2996,7 +2996,7 @@ TaskManager::copyPersistentSet( const OUString& srcUnqPath, { if( ! m_xFileRegistry.is() ) { - assert( m_xFileRegistry.is() ); + OSL_ASSERT( m_xFileRegistry.is() ); return; } |