From 769778e489722f454fa3d81ffcf73f1934a0a88b Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 17 Jan 2014 16:07:36 +0100 Subject: test::BootstrapFixtureBase::getPathFromWorkdir not unused Change-Id: I4ddad27d1e5a4de9885956b80db37f1e2f80a96e --- unotest/source/cpp/bootstrapfixturebase.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'unotest') diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx index cc8ae3fa189a..87a72a725eb0 100644 --- a/unotest/source/cpp/bootstrapfixturebase.cxx +++ b/unotest/source/cpp/bootstrapfixturebase.cxx @@ -83,6 +83,14 @@ OUString test::BootstrapFixtureBase::getURLFromWorkdir( const char *pPath ) return m_aWorkdirRootURL + OUString::createFromAscii( pPath ); } +#ifdef _WIN32 // ifdef just to keep it out of unusedcode.easy +OUString test::BootstrapFixtureBase::getPathFromWorkdir( const char *pPath ) +{ + return m_aWorkdirRootPath + OUString::createFromAscii( pPath ); + +} +#endif + void test::BootstrapFixtureBase::setUp() { // set UserInstallation to user profile dir in test/user-template -- cgit