summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/confuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/confuno.cxx')
-rw-r--r--sc/source/ui/unoobj/confuno.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/confuno.cxx b/sc/source/ui/unoobj/confuno.cxx
index a168afccdd4f..9403d73408cc 100644
--- a/sc/source/ui/unoobj/confuno.cxx
+++ b/sc/source/ui/unoobj/confuno.cxx
@@ -407,7 +407,7 @@ void SAL_CALL ScDocumentConfiguration::setPropertyValue(
else if ( aPropertyName == SC_UNO_RASTERSYNC )
aGridOpt.SetSynchronize( ScUnoHelpFunctions::GetBoolFromAny( aValue ) );
else
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(aPropertyName);
aViewOpt.SetGridOptions(aGridOpt);
}
rDoc.SetViewOptions(aViewOpt);
@@ -608,7 +608,7 @@ uno::Any SAL_CALL ScDocumentConfiguration::getPropertyValue( const OUString& aPr
else if ( aPropertyName == SC_UNO_RASTERSYNC )
aRet <<= aGridOpt.GetSynchronize();
else
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException(aPropertyName);
}