From 66604baf08c47cc0c77ab3b9ee7e77f987c64722 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 23 Aug 2017 18:11:38 +0200 Subject: Consistently use OUString in test::Directories Change-Id: Ia5fd8af34ee9d2f37e4450ab241f6bb9a06445b2 Reviewed-on: https://gerrit.libreoffice.org/41466 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- include/unotest/directories.hxx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'include/unotest/directories.hxx') diff --git a/include/unotest/directories.hxx b/include/unotest/directories.hxx index 04ee9287fe68..c1eaac83bafa 100644 --- a/include/unotest/directories.hxx +++ b/include/unotest/directories.hxx @@ -30,19 +30,17 @@ public: const OUString& getSrcRootURL() { return m_aSrcRootURL; } const OUString& getSrcRootPath() { return m_aSrcRootPath; } - // return a URL to a given c-str path from the source directory - OUString getURLFromSrc( const char *pPath ); + // return a URL to a given path from the source directory OUString getURLFromSrc( const OUString& rPath ); - // return a Path to a given c-str path from the source directory - OUString getPathFromSrc( const char *pPath ); + // return a Path to a given path from the source directory OUString getPathFromSrc( const OUString& rPath ); - // return a URL to a given c-str path from the workdir directory - OUString getURLFromWorkdir( const char *pPath ); + // return a URL to a given path from the workdir directory + OUString getURLFromWorkdir( const OUString &rPath ); - // return a Path to a given c-str path from the workdir directory - OUString getPathFromWorkdir( const char *pPath ); + // return a Path to a given path from the workdir directory + OUString getPathFromWorkdir( const OUString &rPath ); }; } -- cgit