diff options
Diffstat (limited to 'sw/source/uibase/uno/unotxvw.cxx')
-rw-r--r-- | sw/source/uibase/uno/unotxvw.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx index e2430d14ee86..fcbaee259716 100644 --- a/sw/source/uibase/uno/unotxvw.cxx +++ b/sw/source/uibase/uno/unotxvw.cxx @@ -730,7 +730,7 @@ void SAL_CALL SwXTextView::setPropertyValue( SolarMutexGuard aGuard; const SfxItemPropertySimpleEntry* pEntry = m_pPropSet->getPropertyMap().getByName( rPropertyName ); if (!pEntry) - throw UnknownPropertyException(); + throw UnknownPropertyException(rPropertyName); else if (pEntry->nFlags & PropertyAttribute::READONLY) throw PropertyVetoException(); else @@ -767,7 +767,7 @@ uno::Any SAL_CALL SwXTextView::getPropertyValue( const SfxItemPropertySimpleEntry* pEntry = m_pPropSet->getPropertyMap().getByName( rPropertyName ); if (!pEntry) - throw UnknownPropertyException(); + throw UnknownPropertyException(rPropertyName); sal_Int16 nWID = pEntry->nWID; switch (nWID) |