From 438054572e0e20cd8ba2a1cfc436c845acfc7145 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 29 Nov 2011 22:59:59 +0100 Subject: Adapted to new assertion/logging mechanisms. --- xmlreader/source/span.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xmlreader/source/span.cxx') diff --git a/xmlreader/source/span.cxx b/xmlreader/source/span.cxx index a7ff3497f8c5..c259f1108f3f 100644 --- a/xmlreader/source/span.cxx +++ b/xmlreader/source/span.cxx @@ -27,9 +27,11 @@ ************************************************************************/ #include "sal/config.h" + +#include + #include "com/sun/star/uno/RuntimeException.hpp" #include "com/sun/star/uno/XInterface.hpp" -#include "osl/diagnose.h" #include "rtl/textcvt.h" #include "rtl/textenc.h" #include "rtl/ustring.h" @@ -46,7 +48,7 @@ namespace css = com::sun::star; } rtl::OUString Span::convertFromUtf8() const { - OSL_ASSERT(is()); + assert(is()); rtl_uString * s = 0; if (!rtl_convertStringToUString( &s, begin, length, RTL_TEXTENCODING_UTF8, -- cgit