summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:40:29 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:40:29 +1000
commit85aefc88025992fd7cdf435546dbf26642495713 (patch)
tree3e71be66d451b87cabe1d4030613039550029c52 /tools
parentc11ef362c2cf8c5490f04bc83bfa55336db01046 (diff)
tdf#43157: convert tools from OSL_ASSERT to assert
Change-Id: If932ad6282bac2ca0caa1a824ce58cad9e61045c
Diffstat (limited to 'tools')
-rw-r--r--tools/source/fsys/urlobj.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index 513f6c57a478..4466ef7e3a74 100644
--- a/tools/source/fsys/urlobj.cxx
+++ b/tools/source/fsys/urlobj.cxx
@@ -3124,7 +3124,7 @@ bool INetURLObject::parsePath(INetProtocol eScheme,
return false;
break;
default:
- OSL_ASSERT(false);
+ assert(false);
break;
}
@@ -3563,7 +3563,7 @@ INetURLObject::getAbbreviated(
= pPrefixBegin
+ (bAuthority && pPrefixBegin == pCoreBegin ? 2 :
1);
- OSL_ASSERT(p <= pEnd);
+ assert(p <= pEnd);
while (p < pEnd && *p != '/')
++p;
if (p == pCoreEnd - 1 && *p == '/')
@@ -4426,7 +4426,7 @@ bool INetURLObject::setFSysPath(OUString const & rFSysPath,
}
default:
- OSL_ASSERT(false);
+ assert(false);
break;
}