summaryrefslogtreecommitdiff
path: root/libreofficekit/qa/unit
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-30 19:52:46 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-12-04 12:23:03 +0100
commiteefdd2ee550605f8f78ece452ad5bdabf0a1de9d (patch)
tree2cc990cd3a2614110ef140740e2e10955c9fdc6d /libreofficekit/qa/unit
parent4b8122318c9d07e36c23a2c9cbd98d4087db18de (diff)
Make common paths member variables.
We'll need these for other tests too. Change-Id: Ia99c2e60f5e5bb24a83875a9dcf85a6b4f54beb4
Diffstat (limited to 'libreofficekit/qa/unit')
-rw-r--r--libreofficekit/qa/unit/tiledrendering.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libreofficekit/qa/unit/tiledrendering.cxx b/libreofficekit/qa/unit/tiledrendering.cxx
index 5d6100003875..d6529f545c44 100644
--- a/libreofficekit/qa/unit/tiledrendering.cxx
+++ b/libreofficekit/qa/unit/tiledrendering.cxx
@@ -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() ) );