summaryrefslogtreecommitdiff
path: root/libreofficekit/qa
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-07-17 10:35:49 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-07-17 10:36:28 +0200
commita95934d8dbd91e3c6250578171483859cb11f3c2 (patch)
treefae6ae3ab7174223dc6b7da7e88a369914bcdbeb /libreofficekit/qa
parent461e46904ffa29820be1ccb64cdb9cb6d4469b6c (diff)
Fix some CppunitTest_libreofficekit_tiledrendering related problems
Change-Id: Icdcde0af1b3d5744ef2842e4b4d2b85a094ac686
Diffstat (limited to 'libreofficekit/qa')
-rw-r--r--libreofficekit/qa/unit/tiledrendering.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libreofficekit/qa/unit/tiledrendering.cxx b/libreofficekit/qa/unit/tiledrendering.cxx
index d48e3044b111..67fa62ef2240 100644
--- a/libreofficekit/qa/unit/tiledrendering.cxx
+++ b/libreofficekit/qa/unit/tiledrendering.cxx
@@ -42,7 +42,8 @@ public:
void TiledRenderingTest::testOverlay()
{
const string sSrcRoot = getenv( "SRC_ROOT" );
- const string sLOPath = sSrcRoot + "/instdir/program";
+ const string sInstDir = getenv( "INSTDIR" );
+ const string sLOPath = sInstDir + "/program";
const string sDocPath = sSrcRoot + "/odk/examples/java/DocumentHandling/test/test1.odt";
scoped_ptr< Office > pOffice( lok_cpp_init(