summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-05-30 09:20:23 +0000
committerOliver Bolte <obo@openoffice.org>2008-05-30 09:20:23 +0000
commit9f2d92d94e0c1f38f3e4b4db8273bd982e64c20e (patch)
treee29996f6696444080bf4338738b915957f0e1b91
parent937198c3e38b1b19d07ea07065b4890ee394c2f9 (diff)
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
-rw-r--r--chart2/source/controller/main/ChartWindow.cxx4
1 files changed, 3 insertions, 1 deletions
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()