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/propertynode.cxx | |
parent | f1074136f5ac1d4dd2b2bbdd84c779e90d4f0a22 (diff) |
Adapted to new assertion/logging mechanisms.
Diffstat (limited to 'configmgr/source/propertynode.cxx')
-rw-r--r-- | configmgr/source/propertynode.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configmgr/source/propertynode.cxx b/configmgr/source/propertynode.cxx index b14760aab421..5aa86db68c9f 100644 --- a/configmgr/source/propertynode.cxx +++ b/configmgr/source/propertynode.cxx @@ -28,9 +28,10 @@ #include "sal/config.h" +#include <cassert> + #include "com/sun/star/beans/Optional.hpp" #include "com/sun/star/uno/Any.hxx" -#include "osl/diagnose.h" #include "rtl/ref.hxx" #include "rtl/ustring.h" #include "rtl/ustring.hxx" @@ -86,7 +87,7 @@ void PropertyNode::setValue(int layer, css::uno::Any const & value) { } void PropertyNode::setExternal(int layer, rtl::OUString const & descriptor) { - OSL_ASSERT(descriptor.getLength() != 0); + assert(!descriptor.isEmpty()); setLayer(layer); externalDescriptor_ = descriptor; } |