summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unomailmerge.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unomailmerge.cxx')
-rw-r--r--sw/source/uibase/uno/unomailmerge.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/uno/unomailmerge.cxx b/sw/source/uibase/uno/unomailmerge.cxx
index 8ea1a82934d6..9208c2644ab4 100644
--- a/sw/source/uibase/uno/unomailmerge.cxx
+++ b/sw/source/uibase/uno/unomailmerge.cxx
@@ -869,7 +869,7 @@ void SAL_CALL SwXMailMerge::setPropertyValue(
const SfxItemPropertySimpleEntry* pCur = m_pPropSet->getPropertyMap().getByName( rPropertyName );
if (!pCur)
- throw UnknownPropertyException();
+ throw UnknownPropertyException(rPropertyName);
else if (pCur->nFlags & PropertyAttribute::READONLY)
throw PropertyVetoException();
else
@@ -1024,7 +1024,7 @@ uno::Any SAL_CALL SwXMailMerge::getPropertyValue(
const SfxItemPropertySimpleEntry* pCur = m_pPropSet->getPropertyMap().getByName( rPropertyName );
if (!pCur)
- throw UnknownPropertyException();
+ throw UnknownPropertyException(rPropertyName);
switch (pCur->nWID)
{
@@ -1075,7 +1075,7 @@ void SAL_CALL SwXMailMerge::addPropertyChangeListener(
{
const SfxItemPropertySimpleEntry* pCur = m_pPropSet->getPropertyMap().getByName( rPropertyName );
if (!pCur)
- throw UnknownPropertyException();
+ throw UnknownPropertyException(rPropertyName);
m_aPropListeners.addInterface( pCur->nWID, rListener );
}
}
@@ -1089,7 +1089,7 @@ void SAL_CALL SwXMailMerge::removePropertyChangeListener(
{
const SfxItemPropertySimpleEntry* pCur = m_pPropSet->getPropertyMap().getByName( rPropertyName );
if (!pCur)
- throw UnknownPropertyException();
+ throw UnknownPropertyException(rPropertyName);
m_aPropListeners.removeInterface( pCur->nWID, rListener );
}
}