summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filtask.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:54:57 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:55:03 +1000
commit367fa84af9783be40cc05adb154612e38c237172 (patch)
tree2ad6337a713f8ef7a948066fac378d36e4c7896d /ucb/source/ucp/file/filtask.cxx
parentf4da706256bbf3d7828419c97ffbfa98d4d48120 (diff)
tdf#43157: convert ucb and svl from OSL_ASSERT to assert
Change-Id: I34579b2ec0b9a2a98361108bc259ddb1fc1df7b5
Diffstat (limited to 'ucb/source/ucp/file/filtask.cxx')
-rw-r--r--ucb/source/ucp/file/filtask.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/file/filtask.cxx b/ucb/source/ucp/file/filtask.cxx
index e78bb9ed46eb..20092bc7fb71 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)
{
- OSL_ASSERT(item != nullptr && type != nullptr);
+ 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() )
{
- OSL_ASSERT( m_xFileRegistry.is() );
+ assert( m_xFileRegistry.is() );
return;
}
@@ -2996,7 +2996,7 @@ TaskManager::copyPersistentSet( const OUString& srcUnqPath,
{
if( ! m_xFileRegistry.is() )
{
- OSL_ASSERT( m_xFileRegistry.is() );
+ assert( m_xFileRegistry.is() );
return;
}