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 ffd6baa83711..b55662a899d1 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.cxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.cxx
@@ -49,7 +49,7 @@ void WrappedAddInProperty::setPropertyValue( const Any& rOuterValue, const Refer
Any WrappedAddInProperty::getPropertyValue( const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const
{
- return uno::makeAny( m_rChartDocumentWrapper.getAddIn() );
+ return uno::Any( m_rChartDocumentWrapper.getAddIn() );
}
WrappedBaseDiagramProperty::WrappedBaseDiagramProperty( ChartDocumentWrapper& rChartDocumentWrapper )
@@ -72,7 +72,7 @@ void WrappedBaseDiagramProperty::setPropertyValue( const Any& rOuterValue, const
Any WrappedBaseDiagramProperty::getPropertyValue( const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const
{
- return uno::makeAny( m_rChartDocumentWrapper.getBaseDiagram() );
+ return uno::Any( m_rChartDocumentWrapper.getBaseDiagram() );
}
WrappedAdditionalShapesProperty::WrappedAdditionalShapesProperty( ChartDocumentWrapper& rChartDocumentWrapper )
@@ -91,7 +91,7 @@ void WrappedAdditionalShapesProperty::setPropertyValue( const Any& /*rOuterValue
Any WrappedAdditionalShapesProperty::getPropertyValue( const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const
{
- return uno::makeAny( m_rChartDocumentWrapper.getAdditionalShapes() );
+ return uno::Any( m_rChartDocumentWrapper.getAdditionalShapes() );
}
WrappedRefreshAddInAllowedProperty::WrappedRefreshAddInAllowedProperty( ChartDocumentWrapper& rChartDocumentWrapper )
@@ -114,7 +114,7 @@ void WrappedRefreshAddInAllowedProperty::setPropertyValue( const Any& rOuterValu
Any WrappedRefreshAddInAllowedProperty::getPropertyValue( const Reference< beans::XPropertySet >& /* xInnerPropertySet */ ) const
{
- return uno::makeAny( m_rChartDocumentWrapper.getUpdateAddIn() );
+ return uno::Any( m_rChartDocumentWrapper.getUpdateAddIn() );
}
} //namespace wrapper