summaryrefslogtreecommitdiff
path: root/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:35:34 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:35:34 +1000
commit99ef7846544ea4548fb607df37aa0429d68c2ebe (patch)
tree4d8f5a96617cc48e06adb0f389445b4e3088b6ed /stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
parentf81e6f5c78686be9d58174800983012ec025b849 (diff)
tdf#43157: convert stoc from OSL_ASSERT to assert
Change-Id: I7d1b2748a4f4afd873ee4d65d153c76b249507dd
Diffstat (limited to 'stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx')
-rw-r--r--stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
index dc7fbf0015ff..757bbf719533 100644
--- a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
+++ b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
@@ -91,7 +91,7 @@ css::uno::Reference< css::uri::XUriReference >
Factory::createVndSunStarPkgUrlReference(
css::uno::Reference< css::uri::XUriReference > const & authority)
{
- OSL_ASSERT(authority.is());
+ assert(authority.is());
if (authority->isAbsolute() && !authority->hasFragment()) {
OUStringBuffer buf;
buf.append("vnd.sun.star.pkg://");
@@ -102,7 +102,7 @@ Factory::createVndSunStarPkgUrlReference(
css::uno::Reference< css::uri::XUriReference > uriRef(
css::uri::UriReferenceFactory::create(m_context)->parse(
buf.makeStringAndClear()));
- OSL_ASSERT(uriRef.is());
+ assert(uriRef.is());
return uriRef;
} else {
return css::uno::Reference< css::uri::XUriReference >();