n#827332: Charts shrink when there are no legends.
This commit is contained in:
@@ -944,12 +944,14 @@ void VLegend::createShapes(
|
|||||||
|
|
||||||
bool bSymbolsLeftSide = lcl_shouldSymbolsBePlacedOnTheLeftSide( xLegendProp, m_nDefaultWritingMode );
|
bool bSymbolsLeftSide = lcl_shouldSymbolsBePlacedOnTheLeftSide( xLegendProp, m_nDefaultWritingMode );
|
||||||
|
|
||||||
// place entries
|
if( aViewEntries.size() ) {
|
||||||
aLegendSize = lcl_placeLegendEntries( aViewEntries, eExpansion, bSymbolsLeftSide, fViewFontSize, aMaxSymbolExtent
|
// place entries
|
||||||
, aTextProperties, xLegendContainer, m_xShapeFactory, aLegendSize );
|
aLegendSize = lcl_placeLegendEntries( aViewEntries, eExpansion, bSymbolsLeftSide, fViewFontSize, aMaxSymbolExtent,
|
||||||
|
aTextProperties, xLegendContainer, m_xShapeFactory, aLegendSize );
|
||||||
|
|
||||||
if( xBorder.is() )
|
if( xBorder.is() )
|
||||||
xBorder->setSize( aLegendSize );
|
xBorder->setSize( aLegendSize );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch( const uno::Exception & ex )
|
catch( const uno::Exception & ex )
|
||||||
|
Reference in New Issue
Block a user