diff options
Diffstat (limited to 'chart2/source/model/template/BubbleChartType.cxx')
-rw-r--r-- | chart2/source/model/template/BubbleChartType.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chart2/source/model/template/BubbleChartType.cxx b/chart2/source/model/template/BubbleChartType.cxx index 1998eb9e4dc7..3373a369e956 100644 --- a/chart2/source/model/template/BubbleChartType.cxx +++ b/chart2/source/model/template/BubbleChartType.cxx @@ -161,13 +161,14 @@ OUString SAL_CALL BubbleChartType::getRoleOfSequenceForSeriesLabel() } // ____ OPropertySet ____ -uno::Any BubbleChartType::GetDefaultValue( sal_Int32 nHandle ) const +void BubbleChartType::GetDefaultValue( sal_Int32 nHandle, uno::Any& rAny ) const { const tPropertyValueMap& rStaticDefaults = *StaticBubbleChartTypeDefaults::get(); tPropertyValueMap::const_iterator aFound( rStaticDefaults.find( nHandle ) ); if( aFound == rStaticDefaults.end() ) - return uno::Any(); - return (*aFound).second; + rAny.clear(); + else + rAny = (*aFound).second; } // ____ OPropertySet ____ |