summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetbase.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
index fa9ac9ba6f84..911a74a4b0b9 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
@@ -374,7 +374,7 @@ public:
[&aName](const beans::Property& rProp) { return aName == rProp.Name; });
if (pProp != m_aSeq.end())
return *pProp;
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(aName);
}
sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) override
@@ -416,7 +416,7 @@ void SAL_CALL ResultSetBase::setPropertyValue(
aPropertyName == "RowCount" )
return;
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(aPropertyName);
}
@@ -433,7 +433,7 @@ uno::Any SAL_CALL ResultSetBase::getPropertyValue(
return uno::Any(count);
}
else
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(PropertyName);
}
@@ -459,7 +459,7 @@ void SAL_CALL ResultSetBase::addPropertyChangeListener(
m_pRowCountListeners->addInterface( xListener );
}
else
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(aPropertyName);
}
@@ -480,7 +480,7 @@ void SAL_CALL ResultSetBase::removePropertyChangeListener(
m_pRowCountListeners->removeInterface( aListener );
}
else
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(aPropertyName);
}