summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-30 19:52:46 +0200
committerAndrzej Hunt <andrzej@ahunt.org>2014-08-19 14:37:27 +0200
commitad391da7fa4f98d054347ce77bc4820f78e8d698 (patch)
tree2cc318b2d275047097f99a82fc2f7b89819fd456
parent1f05df9bb2f69020f7c29d50c7f8c57b2077783a (diff)
Make common paths member variables.
We'll need these for other tests too. Change-Id: Ia99c2e60f5e5bb24a83875a9dcf85a6b4f54beb4
-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() ) );