summaryrefslogtreecommitdiffstats
path: root/comphelper/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-03-22 14:24:13 +0100
committerMichael Stahl <mstahl@redhat.com>2013-03-22 15:25:23 +0100
commit3605407693c83e5e5e0af6f7ec4a3863bc7178b0 (patch)
treed41873296862797baba2b70bc877fa5cefe9de95 /comphelper/source
parentSdXMLExport::CreateFontAutoStylePool: "EmbedFonts": ignore exceptions (diff)
downloadcore-3605407693c83e5e5e0af6f7ec4a3863bc7178b0.tar.gz
core-3605407693c83e5e5e0af6f7ec4a3863bc7178b0.zip
sd::DocumentSettings: throwing UnknownPropertyException ...
... for properties that are in the PropertySetInfo just because there's no document or shell is just plain wrong. Change-Id: I84f4f930f492753b20ba04ec4d41c905d674b9ba
Diffstat (limited to 'comphelper/source')
-rw-r--r--comphelper/source/property/propertysethelper.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/comphelper/source/property/propertysethelper.cxx b/comphelper/source/property/propertysethelper.cxx
index 979f1c9af8cf..27b4c0eeb5b7 100644
--- a/comphelper/source/property/propertysethelper.cxx
+++ b/comphelper/source/property/propertysethelper.cxx
@@ -282,17 +282,22 @@ Any SAL_CALL PropertySetHelper::getPropertyDefault( const ::rtl::OUString& aProp
return _getPropertyDefault( pEntry );
}
-void PropertySetHelper::_getPropertyStates( const comphelper::PropertyMapEntry**, PropertyState* ) throw(UnknownPropertyException )
+void PropertySetHelper::_getPropertyStates(
+ const comphelper::PropertyMapEntry**, PropertyState*)
+throw (UnknownPropertyException, RuntimeException)
{
OSL_FAIL( "you have to implement this yourself!");
}
-void PropertySetHelper::_setPropertyToDefault( const comphelper::PropertyMapEntry* ) throw(UnknownPropertyException )
+void
+PropertySetHelper::_setPropertyToDefault(const comphelper::PropertyMapEntry*)
+throw (UnknownPropertyException, RuntimeException)
{
OSL_FAIL( "you have to implement this yourself!");
}
-Any PropertySetHelper::_getPropertyDefault( const comphelper::PropertyMapEntry* ) throw(UnknownPropertyException, WrappedTargetException )
+Any PropertySetHelper::_getPropertyDefault(const comphelper::PropertyMapEntry*)
+throw (UnknownPropertyException, WrappedTargetException, RuntimeException)
{
OSL_FAIL( "you have to implement this yourself!");