summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/WrappedAddInProperty.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/WrappedAddInProperty.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.cxx b/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.cxx
index ad3c3ddd0384..241f716c09ca 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.cxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.cxx
@@ -43,7 +43,7 @@ void WrappedAddInProperty::setPropertyValue( const Any& rOuterValue, const Refer
{
Reference< util::XRefreshable > xAddIn;
if( ! (rOuterValue >>= xAddIn) )
- throw lang::IllegalArgumentException( "AddIn properties require type XRefreshable", 0, 0 );
+ throw lang::IllegalArgumentException( "AddIn properties require type XRefreshable", nullptr, 0 );
m_rChartDocumentWrapper.setAddIn( xAddIn );
}
@@ -68,7 +68,7 @@ void WrappedBaseDiagramProperty::setPropertyValue( const Any& rOuterValue, const
{
OUString aBaseDiagram;
if( ! (rOuterValue >>= aBaseDiagram) )
- throw lang::IllegalArgumentException( "BaseDiagram properties require type OUString", 0, 0 );
+ throw lang::IllegalArgumentException( "BaseDiagram properties require type OUString", nullptr, 0 );
m_rChartDocumentWrapper.setBaseDiagram( aBaseDiagram );
}
@@ -91,7 +91,7 @@ WrappedAdditionalShapesProperty::~WrappedAdditionalShapesProperty()
void WrappedAdditionalShapesProperty::setPropertyValue( const Any& /*rOuterValue*/, const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const
throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException)
{
- throw lang::IllegalArgumentException( "AdditionalShapes is a read only property", 0, 0 );
+ throw lang::IllegalArgumentException( "AdditionalShapes is a read only property", nullptr, 0 );
}
Any WrappedAdditionalShapesProperty::getPropertyValue( const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const
@@ -114,7 +114,7 @@ void WrappedRefreshAddInAllowedProperty::setPropertyValue( const Any& rOuterValu
{
bool bUpdateAddIn = true;
if( ! (rOuterValue >>= bUpdateAddIn) )
- throw lang::IllegalArgumentException( "The property RefreshAddInAllowed requires type boolean", 0, 0 );
+ throw lang::IllegalArgumentException( "The property RefreshAddInAllowed requires type boolean", nullptr, 0 );
m_rChartDocumentWrapper.setUpdateAddIn( bUpdateAddIn );
}