summaryrefslogtreecommitdiff
path: root/unotest/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-07-01 14:40:45 +0200
committerMichael Stahl <mstahl@redhat.com>2013-07-01 14:42:34 +0200
commit247b182fc55a05e9cd54b94dbf3de7ba9a13094f (patch)
treed85c400d75f34e1df66646bd19e2bef3fa1f7713 /unotest/source
parent2fc0fa62b26ce34675fcb94de59194592421eeb5 (diff)
unotest: re-add test::BootstrapFixtureBase::getPathFromWorkdir
also erroneously removed in 6a59659541e45198b8cda162f87f6abcd68c6101 Change-Id: Id9e942cf012d901546b5b403d0d04e749fd20695
Diffstat (limited to 'unotest/source')
-rw-r--r--unotest/source/cpp/bootstrapfixturebase.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx
index 1ffab1ebee5b..31a5d44f4473 100644
--- a/unotest/source/cpp/bootstrapfixturebase.cxx
+++ b/unotest/source/cpp/bootstrapfixturebase.cxx
@@ -76,6 +76,21 @@ OUString test::BootstrapFixtureBase::getPathFromSrc( const char *pPath )
return m_aSrcRootPath + OUString::createFromAscii( pPath );
}
+// just temporarily ifdef this out as it's currently unused (callcatcher)
+// if you start using it on linux just remove the ifdef
+#ifndef LINUX
+OUString test::BootstrapFixtureBase::getURLFromWorkdir( const char *pPath )
+{
+ return m_aWorkdirRootURL + OUString::createFromAscii( pPath );
+}
+
+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