diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-11-29 11:54:46 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-11-29 13:12:20 +0100 |
commit | 048a25b4c89cb33bbdc72c0525418891c08a6acb (patch) | |
tree | 04c16e90cefdd78cf41f5abccfbaea1d332b8ce5 /configmgr/source/xmldata.cxx | |
parent | f1074136f5ac1d4dd2b2bbdd84c779e90d4f0a22 (diff) |
Adapted to new assertion/logging mechanisms.
Diffstat (limited to 'configmgr/source/xmldata.cxx')
-rw-r--r-- | configmgr/source/xmldata.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configmgr/source/xmldata.cxx b/configmgr/source/xmldata.cxx index c688d73cfa22..d6ed12ec81f0 100644 --- a/configmgr/source/xmldata.cxx +++ b/configmgr/source/xmldata.cxx @@ -28,6 +28,7 @@ #include "sal/config.h" +#include <cassert> #include <climits> #include <stack> @@ -35,7 +36,6 @@ #include "com/sun/star/uno/Reference.hxx" #include "com/sun/star/uno/RuntimeException.hpp" #include "com/sun/star/uno/XInterface.hpp" -#include "osl/diagnose.h" #include "osl/file.hxx" #include "rtl/ref.hxx" #include "rtl/strbuf.hxx" @@ -72,7 +72,7 @@ namespace css = com::sun::star; Type parseType( xmlreader::XmlReader const & reader, xmlreader::Span const & text) { - OSL_ASSERT(text.is()); + assert(text.is()); sal_Int32 i = rtl_str_indexOfChar_WithLength(text.begin, text.length, ':'); if (i >= 0) { switch (reader.getNamespaceId(xmlreader::Span(text.begin, i))) { @@ -166,7 +166,7 @@ Type parseType( } bool parseBoolean(xmlreader::Span const & text) { - OSL_ASSERT(text.is()); + assert(text.is()); if (text.equals(RTL_CONSTASCII_STRINGPARAM("true"))) { return true; } |