summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/VLegendSymbolFactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/main/VLegendSymbolFactory.cxx')
-rw-r--r--chart2/source/view/main/VLegendSymbolFactory.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/view/main/VLegendSymbolFactory.cxx b/chart2/source/view/main/VLegendSymbolFactory.cxx
index 0ccc53df3dcb..326da900cf8b 100644
--- a/chart2/source/view/main/VLegendSymbolFactory.cxx
+++ b/chart2/source/view/main/VLegendSymbolFactory.cxx
@@ -181,8 +181,7 @@ Reference< drawing::XShape > VLegendSymbolFactory::createSymbol(
getPropNamesAndValues( xLegendEntryProperties, aPropNames, aPropValues,
ePropertyType, awt::Size(0,0) );// PropertyType::FilledSeries
- Reference< drawing::XShape > xShape =
- pShapeFactory->createRectangle( xResultGroup,
+ pShapeFactory->createRectangle( xResultGroup,
rEntryKeyAspectRatio, awt::Point( 0, 0 ),
aPropNames, aPropValues );
}