summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbaformatcondition.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbaformatcondition.cxx')
-rw-r--r--sc/source/ui/vba/vbaformatcondition.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/sc/source/ui/vba/vbaformatcondition.cxx b/sc/source/ui/vba/vbaformatcondition.cxx
index 17629ed9c68d..36d1fc2a3bec 100644
--- a/sc/source/ui/vba/vbaformatcondition.cxx
+++ b/sc/source/ui/vba/vbaformatcondition.cxx
@@ -27,7 +27,7 @@ using namespace ::com::sun::star;
/// @throws css::script::BasicErrorException
static ScVbaFormatConditions*
-lcl_getScVbaFormatConditionsPtr( const uno::Reference< excel::XFormatConditions >& xFormatConditions ) throw ( script::BasicErrorException )
+lcl_getScVbaFormatConditionsPtr( const uno::Reference< excel::XFormatConditions >& xFormatConditions )
{
ScVbaFormatConditions* pFormatConditions = static_cast< ScVbaFormatConditions* >( xFormatConditions.get() );
if ( !pFormatConditions )
@@ -40,7 +40,7 @@ ScVbaFormatCondition::ScVbaFormatCondition( const uno::Reference< XHelperInterfa
const uno::Reference< sheet::XSheetConditionalEntry >& _xSheetConditionalEntry,
const uno::Reference< excel::XStyle >& _xStyle,
const uno::Reference< excel::XFormatConditions >& _xFormatConditions,
- const uno::Reference< css::beans::XPropertySet >& _xPropertySet ) throw ( css::uno::RuntimeException, css::script::BasicErrorException )
+ const uno::Reference< css::beans::XPropertySet >& _xPropertySet )
: ScVbaFormatCondition_BASE( xParent, xContext,
uno::Reference< sheet::XSheetCondition >( _xSheetConditionalEntry, css::uno::UNO_QUERY_THROW ) ),
moFormatConditions( _xFormatConditions ), mxStyle( _xStyle ), mxParentRangePropertySet( _xPropertySet )
@@ -52,7 +52,7 @@ ScVbaFormatCondition::ScVbaFormatCondition( const uno::Reference< XHelperInterfa
}
void SAL_CALL
-ScVbaFormatCondition::Delete( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception)
+ScVbaFormatCondition::Delete( )
{
ScVbaFormatConditions* pFormatConditions = lcl_getScVbaFormatConditionsPtr( moFormatConditions );
pFormatConditions->removeFormatCondition(msStyleName, true);
@@ -60,7 +60,7 @@ ScVbaFormatCondition::Delete( ) throw (script::BasicErrorException, uno::Runtim
}
void SAL_CALL
-ScVbaFormatCondition::Modify( ::sal_Int32 _nType, const uno::Any& _aOperator, const uno::Any& _aFormula1, const uno::Any& _aFormula2 ) throw (script::BasicErrorException, uno::RuntimeException, std::exception)
+ScVbaFormatCondition::Modify( ::sal_Int32 _nType, const uno::Any& _aOperator, const uno::Any& _aFormula1, const uno::Any& _aFormula2 )
{
try
{
@@ -75,23 +75,23 @@ ScVbaFormatCondition::Modify( ::sal_Int32 _nType, const uno::Any& _aOperator, co
}
uno::Reference< excel::XInterior > SAL_CALL
-ScVbaFormatCondition::Interior( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception)
+ScVbaFormatCondition::Interior( )
{
return mxStyle->Interior();
}
uno::Reference< excel::XFont > SAL_CALL
-ScVbaFormatCondition::Font( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception)
+ScVbaFormatCondition::Font( )
{
return mxStyle->Font();
}
uno::Any SAL_CALL
-ScVbaFormatCondition::Borders( const uno::Any& Index ) throw (script::BasicErrorException, uno::RuntimeException, std::exception)
+ScVbaFormatCondition::Borders( const uno::Any& Index )
{ return mxStyle->Borders( Index );
}
sheet::ConditionOperator
-ScVbaFormatCondition::retrieveAPIType(sal_Int32 _nVBAType, const uno::Reference< sheet::XSheetCondition >& _xSheetCondition ) throw ( script::BasicErrorException )
+ScVbaFormatCondition::retrieveAPIType(sal_Int32 _nVBAType, const uno::Reference< sheet::XSheetCondition >& _xSheetCondition )
{
sheet::ConditionOperator aAPIType = sheet::ConditionOperator_NONE;
switch (_nVBAType)
@@ -110,7 +110,7 @@ ScVbaFormatCondition::retrieveAPIType(sal_Int32 _nVBAType, const uno::Reference<
}
void
-ScVbaFormatCondition::setFormula1( const uno::Any& _aFormula1) throw ( script::BasicErrorException )
+ScVbaFormatCondition::setFormula1( const uno::Any& _aFormula1)
{
// getA1Formula *SHOULD* detect whether the formula is r1c1 or A1 syntax
// and if R1C1 convert to A1
@@ -118,7 +118,7 @@ ScVbaFormatCondition::setFormula1( const uno::Any& _aFormula1) throw ( script::B
}
::sal_Int32 SAL_CALL
-ScVbaFormatCondition::Type( ) throw ( script::BasicErrorException, uno::RuntimeException, std::exception )
+ScVbaFormatCondition::Type( )
{
sal_Int32 nReturnType = 0;
if ( mxSheetCondition->getOperator() == sheet::ConditionOperator_FORMULA)
@@ -129,19 +129,19 @@ ScVbaFormatCondition::Type( ) throw ( script::BasicErrorException, uno::Runtime
}
::sal_Int32
-ScVbaFormatCondition::Operator( bool bVal ) throw (script::BasicErrorException )
+ScVbaFormatCondition::Operator( bool bVal )
{
return ScVbaFormatCondition_BASE::Operator( bVal );
}
::sal_Int32 SAL_CALL
-ScVbaFormatCondition::Operator( ) throw (script::BasicErrorException, uno::RuntimeException)
+ScVbaFormatCondition::Operator( )
{
return ScVbaFormatCondition_BASE::Operator( true );
}
void
-ScVbaFormatCondition::notifyRange() throw ( script::BasicErrorException )
+ScVbaFormatCondition::notifyRange()
{
try
{