[Libreoffice-commits] core.git: libreofficekit/qa
Jan-Marek Glogowski
glogow at fbihome.de
Mon Mar 9 03:15:28 PDT 2015
libreofficekit/qa/unit/tiledrendering.cxx | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
New commits:
commit 417ef821bca34a65ed69d375a8f6a3ffb236c236
Author: Jan-Marek Glogowski <glogow at fbihome.de>
Date: Mon Mar 9 11:00:05 2015 +0100
Fix Ubuntu Precise build: non-static member init
gcc 4.6 reports: sorry, unimplemented: non-static data member
initializers
Moves the initialization into the constructors initializer list.
Change-Id: Id25ac042aa3207135edda2485d3c5fe8f98652af
diff --git a/libreofficekit/qa/unit/tiledrendering.cxx b/libreofficekit/qa/unit/tiledrendering.cxx
index a12d976..7dcd6fb 100644
--- a/libreofficekit/qa/unit/tiledrendering.cxx
+++ b/libreofficekit/qa/unit/tiledrendering.cxx
@@ -49,11 +49,16 @@ OUString getFileURLFromSystemPath(OUString const & path)
class TiledRenderingTest : public ::CppUnit::TestFixture
{
public:
- const string m_sSrcRoot = getenv( "SRC_ROOT" );
- const string m_sInstDir = getenv( "INSTDIR" );
- const string m_sLOPath = m_sInstDir + "/program";
-
- TiledRenderingTest() {}
+ const string m_sSrcRoot;
+ const string m_sInstDir;
+ const string m_sLOPath;
+
+ TiledRenderingTest()
+ : m_sSrcRoot( getenv( "SRC_ROOT" ) )
+ , m_sInstDir( getenv( "INSTDIR" ) )
+ , m_sLOPath( m_sInstDir + "/program" )
+ {
+ }
// Currently it isn't possible to do multiple startup/shutdown
// cycle of LOK in a single process -- hence we run all our tests
More information about the Libreoffice-commits
mailing list