summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/PivotTableDataProvider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/PivotTableDataProvider.cxx')
-rw-r--r--sc/source/ui/unoobj/PivotTableDataProvider.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/PivotTableDataProvider.cxx b/sc/source/ui/unoobj/PivotTableDataProvider.cxx
index 633f1b1786b3..fa77cd0f133a 100644
--- a/sc/source/ui/unoobj/PivotTableDataProvider.cxx
+++ b/sc/source/ui/unoobj/PivotTableDataProvider.cxx
@@ -853,7 +853,7 @@ uno::Reference< beans::XPropertySetInfo> SAL_CALL
void SAL_CALL PivotTableDataProvider::setPropertyValue(const OUString& rPropertyName, const uno::Any& rValue)
{
if (rPropertyName != SC_UNONAME_INCLUDEHIDDENCELLS)
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rPropertyName);
if (!(rValue >>= m_bIncludeHiddenCells))
throw lang::IllegalArgumentException();
@@ -870,7 +870,7 @@ uno::Any SAL_CALL PivotTableDataProvider::getPropertyValue(const OUString& rProp
aRet <<= m_pDocument->PastingDrawFromOtherDoc();
}
else
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rPropertyName);
return aRet;
}