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 --- uui/source/interactionhandler.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uui') diff --git a/uui/source/interactionhandler.cxx b/uui/source/interactionhandler.cxx index 1d587988478f..201e0433675d 100644 --- a/uui/source/interactionhandler.cxx +++ b/uui/source/interactionhandler.cxx @@ -112,7 +112,7 @@ public: m_pImpl->SetParentWindow(xWindow); return; } - throw css::beans::UnknownPropertyException(); + throw css::beans::UnknownPropertyException(rPropertyName); } virtual css::uno::Any SAL_CALL getPropertyValue(const OUString& rPropertyName) override @@ -121,7 +121,7 @@ public: { return uno::Any(m_pImpl->GetParentWindow()); } - throw css::beans::UnknownPropertyException(); + throw css::beans::UnknownPropertyException(rPropertyName); } }; -- cgit