[Libreoffice-commits] core.git: unotest/source

Michael Stahl mstahl at redhat.com
Mon Jul 1 05:45:10 PDT 2013


 unotest/source/cpp/bootstrapfixturebase.cxx |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

New commits:
commit 247b182fc55a05e9cd54b94dbf3de7ba9a13094f
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Jul 1 14:40:45 2013 +0200

    unotest: re-add test::BootstrapFixtureBase::getPathFromWorkdir
    
    also erroneously removed in 6a59659541e45198b8cda162f87f6abcd68c6101
    
    Change-Id: Id9e942cf012d901546b5b403d0d04e749fd20695

diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx
index 1ffab1e..31a5d44 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


More information about the Libreoffice-commits mailing list