summaryrefslogtreecommitdiff
path: root/svl/source/numbers/numfmuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/numbers/numfmuno.cxx')
-rw-r--r--svl/source/numbers/numfmuno.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx
index aa0d08584f12..5ed7aaa5137e 100644
--- a/svl/source/numbers/numfmuno.cxx
+++ b/svl/source/numbers/numfmuno.cxx
@@ -694,7 +694,7 @@ uno::Any SAL_CALL SvNumberFormatObj::getPropertyValue( const OUString& aProperty
aRet <<= OUString();
}
else
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(aPropertyName);
return aRet;
}
@@ -847,7 +847,7 @@ void SAL_CALL SvNumberFormatSettingsObj::setPropertyValue( const OUString& aProp
pFormatter->SetYear2000( nInt16 );
}
else
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(aPropertyName);
}
@@ -874,7 +874,7 @@ uno::Any SAL_CALL SvNumberFormatSettingsObj::getPropertyValue( const OUString& a
else if (aPropertyName == PROPERTYNAME_TWODIGIT)
aRet <<= static_cast<sal_Int16>( pFormatter->GetYear2000() );
else
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(aPropertyName);
return aRet;
}