Skip to content

Commit

Permalink
Fix printing of pie and text diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Hugentobler committed Sep 5, 2012
1 parent 0c7f729 commit 1497cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/diagram/qgsdiagram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ QSizeF QgsDiagram::sizePainterUnits( const QSizeF& size, const QgsDiagramSetting
{
if ( s.sizeType == QgsDiagramSettings::MM )
{
return QSizeF( size.width() * c.scaleFactor() * c.rasterScaleFactor(), size.height() * c.scaleFactor() * c.rasterScaleFactor() );
return QSizeF( size.width() * c.scaleFactor(), size.height() * c.scaleFactor() );
}
else
{
Expand Down

0 comments on commit 1497cbb

Please sign in to comment.