summaryrefslogtreecommitdiff
path: root/xmlreader/source/span.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlreader/source/span.cxx')
-rw-r--r--xmlreader/source/span.cxx6
1 files changed, 4 insertions, 2 deletions
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 <cassert>
+
#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,