summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/source/propctrlr/MasterDetailLinkDialog.cxx16
1 files changed, 11 insertions, 5 deletions
diff --git a/extensions/source/propctrlr/MasterDetailLinkDialog.cxx b/extensions/source/propctrlr/MasterDetailLinkDialog.cxx
index 3a2390b26845..00814017184b 100644
--- a/extensions/source/propctrlr/MasterDetailLinkDialog.cxx
+++ b/extensions/source/propctrlr/MasterDetailLinkDialog.cxx
@@ -18,6 +18,7 @@
*/
#include <toolkit/helper/vclunohelper.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include "MasterDetailLinkDialog.hxx"
@@ -112,27 +113,32 @@ namespace pcr
{
if (aProperty.Name == "Detail")
{
- OSL_VERIFY( aProperty.Value >>= m_xDetail );
+ if ( ! (aProperty.Value >>= m_xDetail) )
+ SAL_WARN("extensions.propctrlr", "implInitialize: unable to get property Detail");
return;
}
else if (aProperty.Name == "Master")
{
- OSL_VERIFY( aProperty.Value >>= m_xMaster );
+ if ( ! (aProperty.Value >>= m_xMaster) )
+ SAL_WARN("extensions.propctrlr", "implInitialize: unable to get property Master");
return;
}
else if (aProperty.Name == "Explanation")
{
- OSL_VERIFY( aProperty.Value >>= m_sExplanation );
+ if ( ! (aProperty.Value >>= m_sExplanation) )
+ SAL_WARN("extensions.propctrlr", "implInitialize: unable to get property Explanation");
return;
}
else if (aProperty.Name == "DetailLabel")
{
- OSL_VERIFY( aProperty.Value >>= m_sDetailLabel );
+ if ( ! (aProperty.Value >>= m_sDetailLabel) )
+ SAL_WARN("extensions.propctrlr", "implInitialize: unable to get property DetailLabel");
return;
}
else if (aProperty.Name == "MasterLabel")
{
- OSL_VERIFY( aProperty.Value >>= m_sMasterLabel );
+ if ( ! (aProperty.Value >>= m_sMasterLabel) )
+ SAL_WARN("extensions.propctrlr", "implInitialize: unable to get property MasterLabel");
return;
}
}