summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/LegendWrapper.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/LegendWrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx b/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx
index 36878f863fc3..9b20ac825035 100644
--- a/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx
@@ -79,7 +79,7 @@ Any WrappedLegendAlignmentProperty::getPropertyValue( const Reference< beans::XP
xInnerPropertySet->getPropertyValue( "Show" ) >>= bShowLegend;
if(!bShowLegend)
{
- aRet = uno::Any( css::chart::ChartLegendPosition_NONE );
+ aRet <<= css::chart::ChartLegendPosition_NONE;
}
else
{