Kaydet (Commit) d9897f94 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

move that variable out of the constructor init list

We might delete it a few lines later again if we select the OpenGL one.

Change-Id: I08bac1b65bbae02f4f1dd149f484132f84dbc371
üst d9660538
......@@ -61,13 +61,15 @@
#include <officecfg/Office/Common.hxx>
X11SalGraphics::X11SalGraphics():
mpImpl(new X11SalGraphicsImpl(*this)),
m_nXScreen( 0 ),
pFontGC_(NULL)
{
bool bUseOpenGL = officecfg::Office::Common::VCL::UseOpenGL::get();
if (bUseOpenGL)
mpImpl.reset(new OpenGLSalGraphicsImpl());
else
mpImpl.reset(new X11SalGraphicsImpl(*this));
m_pFrame = NULL;
m_pVDev = NULL;
m_pColormap = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment