From 9f2d92d94e0c1f38f3e4b4db8273bd982e64c20e Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Fri, 30 May 2008 09:20:23 +0000 Subject: [PATCH] INTEGRATION: CWS aquabmpfix01 (1.6.14); FILE MERGED 2008/05/09 12:40:13 hdu 1.6.14.1: #i88759# chart2: enable antialiasing, nothing depends on exact pixel-boundaries --- chart2/source/controller/main/ChartWindow.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chart2/source/controller/main/ChartWindow.cxx b/chart2/source/controller/main/ChartWindow.cxx index 69e48d729d2f..d3c5ece82b16 100644 --- a/chart2/source/controller/main/ChartWindow.cxx +++ b/chart2/source/controller/main/ChartWindow.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ChartWindow.cxx,v $ - * $Revision: 1.6 $ + * $Revision: 1.7 $ * * This file is part of OpenOffice.org. * @@ -64,6 +64,8 @@ ChartWindow::ChartWindow( WindowController* pWindowController, Window* pParent, this->SetSmartHelpId( SmartId( HID_SCH_WIN_DOCUMENT ) ); this->SetMapMode( MapMode(MAP_100TH_MM) ); adjustHighContrastMode(); + // chart does not depend on exact pixel painting => enable antialiased drawing + SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW | GetAntialiasing() ); } ChartWindow::~ChartWindow()