From 1f0a1a308bea3f4ea3452ac2385f35bc2b36d274 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 25 Aug 2014 18:43:06 +0200 Subject: CHART_DUMMY_FACTORY should not control the OpenGL window Change-Id: Ic6c640f7d37606b357672f2b73f95d51d1daba67 --- chart2/source/controller/main/ChartWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2/source/controller/main/ChartWindow.cxx') diff --git a/chart2/source/controller/main/ChartWindow.cxx b/chart2/source/controller/main/ChartWindow.cxx index fc0aab92c2d5..4b7ea3a43a5f 100644 --- a/chart2/source/controller/main/ChartWindow.cxx +++ b/chart2/source/controller/main/ChartWindow.cxx @@ -49,7 +49,7 @@ ChartWindow::ChartWindow( ChartController* pController, Window* pParent, WinBits : Window(pParent, nStyle) , m_pWindowController( pController ) , m_bInPaint(false) - , m_pOpenGLWindow(getenv("CHART_DUMMY_FACTORY") ? new OpenGLWindow(this) : 0) + , m_pOpenGLWindow(new OpenGLWindow(this)) { this->SetHelpId( HID_SCH_WIN_DOCUMENT ); this->SetMapMode( MapMode(MAP_100TH_MM) ); -- cgit