Make common paths member variables.

We'll need these for other tests too.

Change-Id: Ia99c2e60f5e5bb24a83875a9dcf85a6b4f54beb4
This commit is contained in:
Andrzej Hunt
2014-07-30 19:52:46 +02:00
committed by Tomaž Vajngerl
parent 4b8122318c
commit eefdd2ee55

View File

@@ -157,6 +157,9 @@ void TiledRenderingTest::testOverlay( Office* pOffice )
// test it's entirely possible that an unwanted lock file will remain.
// Hence forcefully remove it here.
remove( sLockFile.c_str() );
scoped_ptr< Office > pOffice( lok_cpp_init(
m_sLOPath.c_str() ) );
assert( pOffice.get() );
scoped_ptr< Document> pDocument( pOffice->documentLoad(
sDocPath.c_str() ) );