diff options
Diffstat (limited to 'unotest/source')
-rw-r--r-- | unotest/source/cpp/directories.cxx | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/unotest/source/cpp/directories.cxx b/unotest/source/cpp/directories.cxx index d559dffc2e90..2970b92306f3 100644 --- a/unotest/source/cpp/directories.cxx +++ b/unotest/source/cpp/directories.cxx @@ -41,34 +41,24 @@ test::Directories::Directories() { m_aWorkdirRootURL = getFileURLFromSystemPath(m_aWorkdirRootPath); } -OUString test::Directories::getURLFromSrc( const char *pPath ) -{ - return m_aSrcRootURL + OUString::createFromAscii( pPath ); -} - OUString test::Directories::getURLFromSrc( const OUString& rPath ) { return m_aSrcRootURL + rPath; } -OUString test::Directories::getPathFromSrc( const char *pPath ) -{ - return m_aSrcRootPath + OUString::createFromAscii( pPath ); -} - OUString test::Directories::getPathFromSrc(const OUString& rPath) { return m_aSrcRootPath + rPath;; } -OUString test::Directories::getURLFromWorkdir( const char *pPath ) +OUString test::Directories::getURLFromWorkdir( const OUString& rPath ) { - return m_aWorkdirRootURL + OUString::createFromAscii( pPath ); + return m_aWorkdirRootURL + rPath; } -OUString test::Directories::getPathFromWorkdir( const char *pPath ) +OUString test::Directories::getPathFromWorkdir( const OUString& rPath ) { - return m_aWorkdirRootPath + OUString::createFromAscii( pPath ); + return m_aWorkdirRootPath + rPath; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |