diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-11-29 22:59:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-11-29 22:59:59 +0100 |
commit | 438054572e0e20cd8ba2a1cfc436c845acfc7145 (patch) | |
tree | 1aa2c335a352fcc29ff5edd33db1e6a66c23f93f /xmlreader/source/span.cxx | |
parent | da65218ce1160305e7d60ed6a74f48324f08c83c (diff) |
Adapted to new assertion/logging mechanisms.
Diffstat (limited to 'xmlreader/source/span.cxx')
-rw-r--r-- | xmlreader/source/span.cxx | 6 |
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, |