diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-08-22 09:34:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-08-23 14:47:43 +0200 |
commit | 5264c7dcef25492e94d2d2e9a3025a7ec7571699 (patch) | |
tree | 8da78233044dc52966e6a87d85ad352943ba3906 /stoc/source/uriproc/UriReference.cxx | |
parent | 6f2bada24a059a9a5f24195496d2adb50c276d33 (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'stoc/source/uriproc/UriReference.cxx')
-rw-r--r-- | stoc/source/uriproc/UriReference.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
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 <sal/config.h> + +#include <cassert> #include "UriReference.hxx" -#include <osl/diagnose.h> #include <osl/mutex.hxx> #include <rtl/ustrbuf.hxx> #include <rtl/ustring.hxx> @@ -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() {} |