From 5264c7dcef25492e94d2d2e9a3025a7ec7571699 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 22 Aug 2019 09:34:57 +0200 Subject: Clean up OSL_ASSERT in stoc/source/uriproc/ Change-Id: Ia474439d4e35009ec0941b122653a649692aead7 Reviewed-on: https://gerrit.libreoffice.org/77943 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- stoc/source/uriproc/UriReference.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'stoc/source/uriproc/UriReference.cxx') diff --git a/stoc/source/uriproc/UriReference.cxx b/stoc/source/uriproc/UriReference.cxx index 468d6653d2c5..dd4d68d3144e 100644 --- a/stoc/source/uriproc/UriReference.cxx +++ b/stoc/source/uriproc/UriReference.cxx @@ -17,10 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include + +#include #include "UriReference.hxx" -#include #include #include #include @@ -40,8 +42,8 @@ UriReference::UriReference( m_hasQuery(bHasQuery), m_hasFragment(false) { - OSL_ASSERT(authority.isEmpty() || bHasAuthority); - OSL_ASSERT(query.isEmpty() || bHasQuery); + assert(authority.isEmpty() || bHasAuthority); + assert(query.isEmpty() || bHasQuery); } UriReference::~UriReference() {} -- cgit