summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/Theme.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/Theme.cxx')
-rw-r--r--sfx2/source/sidebar/Theme.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx
index a5a1ed3e94b0..90ab20e46f15 100644
--- a/sfx2/source/sidebar/Theme.cxx
+++ b/sfx2/source/sidebar/Theme.cxx
@@ -425,11 +425,11 @@ Any SAL_CALL Theme::getPropertyValue (
{
PropertyNameToIdMap::const_iterator iId (maPropertyNameToIdMap.find(rsPropertyName));
if (iId == maPropertyNameToIdMap.end())
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rsPropertyName);
const PropertyType eType (GetPropertyType(iId->second));
if (eType == PT_Invalid)
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rsPropertyName);
const ThemeItem eItem (iId->second);
@@ -445,11 +445,11 @@ void SAL_CALL Theme::addPropertyChangeListener(
{
PropertyNameToIdMap::const_iterator iId (maPropertyNameToIdMap.find(rsPropertyName));
if (iId == maPropertyNameToIdMap.end())
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rsPropertyName);
const PropertyType eType (GetPropertyType(iId->second));
if (eType == PT_Invalid)
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rsPropertyName);
eItem = iId->second;
}
@@ -467,11 +467,11 @@ void SAL_CALL Theme::removePropertyChangeListener(
{
PropertyNameToIdMap::const_iterator iId (maPropertyNameToIdMap.find(rsPropertyName));
if (iId == maPropertyNameToIdMap.end())
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rsPropertyName);
const PropertyType eType (GetPropertyType(iId->second));
if (eType == PT_Invalid)
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rsPropertyName);
eItem = iId->second;
}
@@ -499,11 +499,11 @@ void SAL_CALL Theme::addVetoableChangeListener(
{
PropertyNameToIdMap::const_iterator iId (maPropertyNameToIdMap.find(rsPropertyName));
if (iId == maPropertyNameToIdMap.end())
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rsPropertyName);
const PropertyType eType (GetPropertyType(iId->second));
if (eType == PT_Invalid)
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rsPropertyName);
eItem = iId->second;
}
@@ -521,11 +521,11 @@ void SAL_CALL Theme::removeVetoableChangeListener(
{
PropertyNameToIdMap::const_iterator iId (maPropertyNameToIdMap.find(rsPropertyName));
if (iId == maPropertyNameToIdMap.end())
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rsPropertyName);
const PropertyType eType (GetPropertyType(iId->second));
if (eType == PT_Invalid)
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rsPropertyName);
eItem = iId->second;
}
@@ -572,11 +572,11 @@ beans::Property SAL_CALL Theme::getPropertyByName (const OUString& rsPropertyNam
{
PropertyNameToIdMap::const_iterator iId (maPropertyNameToIdMap.find(rsPropertyName));
if (iId == maPropertyNameToIdMap.end())
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rsPropertyName);
const PropertyType eType (GetPropertyType(iId->second));
if (eType == PT_Invalid)
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(rsPropertyName);
const ThemeItem eItem (iId->second);