From b56a4eaf5eb856c36d3539dc7d2e6fa94b6551f8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 26 Sep 2019 14:52:33 +0200 Subject: add property name when throwing css::uno::UnknownPropertyException Change-Id: I17f06c9415b9d43b6d8896360e07216c2856367a Reviewed-on: https://gerrit.libreoffice.org/79627 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/unoobj/PivotTableDataSequence.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui/unoobj/PivotTableDataSequence.cxx') diff --git a/sc/source/ui/unoobj/PivotTableDataSequence.cxx b/sc/source/ui/unoobj/PivotTableDataSequence.cxx index be583042f1d7..706cedd3e025 100644 --- a/sc/source/ui/unoobj/PivotTableDataSequence.cxx +++ b/sc/source/ui/unoobj/PivotTableDataSequence.cxx @@ -220,7 +220,7 @@ void SAL_CALL PivotTableDataSequence::setPropertyValue(const OUString& rProperty || rPropertyName == SC_UNONAME_HAS_STRING_LABEL) {} else - throw beans::UnknownPropertyException(); + throw beans::UnknownPropertyException(rPropertyName); } uno::Any SAL_CALL PivotTableDataSequence::getPropertyValue(const OUString& rPropertyName) @@ -244,7 +244,7 @@ uno::Any SAL_CALL PivotTableDataSequence::getPropertyValue(const OUString& rProp aReturn <<= false; } else - throw beans::UnknownPropertyException(); + throw beans::UnknownPropertyException(rPropertyName); return aReturn; } -- cgit