diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-07-17 10:35:49 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-07-17 10:36:28 +0200 |
commit | a95934d8dbd91e3c6250578171483859cb11f3c2 (patch) | |
tree | fae6ae3ab7174223dc6b7da7e88a369914bcdbeb /libreofficekit | |
parent | 461e46904ffa29820be1ccb64cdb9cb6d4469b6c (diff) |
Fix some CppunitTest_libreofficekit_tiledrendering related problems
Change-Id: Icdcde0af1b3d5744ef2842e4b4d2b85a094ac686
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/qa/unit/tiledrendering.cxx | 3 | ||||
-rw-r--r-- | libreofficekit/source/shim.c | 2 |
2 files changed, 3 insertions, 2 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( diff --git a/libreofficekit/source/shim.c b/libreofficekit/source/shim.c index ac272e8d8c04..b533a61b2197 100644 --- a/libreofficekit/source/shim.c +++ b/libreofficekit/source/shim.c @@ -22,7 +22,7 @@ #endif #define TARGET_LIB "lib" "sofficeapp" ".so" -#define TARGET_MERGED_LIB "lib" "libmergedlo" ".so" +#define TARGET_MERGED_LIB "lib" "mergedlo" ".so" typedef LibreOfficeKit *(HookFunction)( const char *install_path); |