summaryrefslogtreecommitdiff
path: root/package/source/xstor/ocompinstream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/xstor/ocompinstream.cxx')
-rw-r--r--package/source/xstor/ocompinstream.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/source/xstor/ocompinstream.cxx b/package/source/xstor/ocompinstream.cxx
index ac4e3f101a07..8f15962d3bf0 100644
--- a/package/source/xstor/ocompinstream.cxx
+++ b/package/source/xstor/ocompinstream.cxx
@@ -509,7 +509,7 @@ void SAL_CALL OInputCompStream::setPropertyValue( const OUString& aPropertyName,
[&aPropertyName](const beans::PropertyValue& rProp) { return rProp.Name == aPropertyName; }))
throw beans::PropertyVetoException(); // TODO
- throw beans::UnknownPropertyException(); // TODO
+ throw beans::UnknownPropertyException(aPropertyName); // TODO
}
uno::Any SAL_CALL OInputCompStream::getPropertyValue( const OUString& aProp )
@@ -529,7 +529,7 @@ uno::Any SAL_CALL OInputCompStream::getPropertyValue( const OUString& aProp )
aPropertyName = aProp;
if ( aPropertyName == "RelationsInfo" )
- throw beans::UnknownPropertyException(); // TODO
+ throw beans::UnknownPropertyException(aPropertyName); // TODO
// all the provided properties are accessible
auto pProp = std::find_if(std::cbegin(m_aProperties), std::cend(m_aProperties),
@@ -537,7 +537,7 @@ uno::Any SAL_CALL OInputCompStream::getPropertyValue( const OUString& aProp )
if (pProp != std::cend(m_aProperties))
return pProp->Value;
- throw beans::UnknownPropertyException(); // TODO
+ throw beans::UnknownPropertyException(aPropertyName); // TODO
}
void SAL_CALL OInputCompStream::addPropertyChangeListener(