[Libreoffice-commits] core.git: Branch 'feature/chart_opengl_window' - chart2/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Aug 25 09:43:33 PDT 2014


 chart2/source/controller/main/ChartWindow.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f437b86023a472c1c97c285bf6630be39cecd7d4
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Aug 25 18:43:06 2014 +0200

    CHART_DUMMY_FACTORY should not control the OpenGL window
    
    Change-Id: Ic6c640f7d37606b357672f2b73f95d51d1daba67

diff --git a/chart2/source/controller/main/ChartWindow.cxx b/chart2/source/controller/main/ChartWindow.cxx
index fc0aab9..4b7ea3a 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) );


More information about the Libreoffice-commits mailing list