summaryrefslogtreecommitdiff
path: root/libreofficekit/qa/unit/tiledrendering.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libreofficekit/qa/unit/tiledrendering.cxx')
-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(