summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/propertynode.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/configmgr/source/propertynode.cxx b/configmgr/source/propertynode.cxx
index ea95274310b8..ab0125fc3499 100644
--- a/configmgr/source/propertynode.cxx
+++ b/configmgr/source/propertynode.cxx
@@ -35,6 +35,7 @@
#include "rtl/ref.hxx"
#include "rtl/ustring.h"
#include "rtl/ustring.hxx"
+#include "sal/log.hxx"
#include "components.hxx"
#include "node.hxx"
@@ -77,6 +78,9 @@ css::uno::Any PropertyNode::getValue(Components & components) {
}
externalDescriptor_ = rtl::OUString(); // must not throw
}
+ SAL_WARN_IF(
+ !(value_.hasValue() || nillable_), "configmgr",
+ "non-nillable property without value");
return value_;
}