summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-09 11:22:15 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-09 11:22:15 +0000
commit2c9b816ea756c758c21fc761d7ae1ce29b9ba3cc (patch)
tree4c19bd9b4e9d5be6f050fd3de97f3a2555eef49d /toolkit
parent4320c4fbc54114a032c70ed74368c4f3ffaa3c5b (diff)
INTEGRATION: CWS sb87 (1.2.14); FILE MERGED
2008/04/10 07:25:27 sb 1.2.14.1: #i87730# use tools::getProcessWorkingDir instead of osl_getProcessWorkingDir (in TEST_LAYOUT code; enabling it would require to link against TOOLSLIB)
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/layout/translate.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/layout/translate.cxx b/toolkit/source/layout/translate.cxx
index 136752c27c57..ba0d954ec320 100644
--- a/toolkit/source/layout/translate.cxx
+++ b/toolkit/source/layout/translate.cxx
@@ -3,9 +3,9 @@
#include <list>
#if TEST_LAYOUT
#include <stdio.h>
+#include "tools/getprocessworkingdir.hxx"
#endif
-#include <osl/process.h>
#include <unotools/bootstrap.hxx>
#include <unotools/localfilehelper.hxx>
#include <unotools/ucbhelper.hxx>
@@ -81,7 +81,7 @@ readRightTranslation( OUString const& aXMLName )
= getLocaleSubdirList( Application::GetSettings().GetUILocale() );
#if TEST_LAYOUT // read from cwd first
OUString aCurrentWorkingUrl;
- osl_getProcessWorkingDir( &aCurrentWorkingUrl.pData );
+ tools::getProcessWorkingDir( &aCurrentWorkingUrl );
String aCurrentWorkingDir;
LocalFileHelper::ConvertURLToPhysicalName( aCurrentWorkingUrl, aCurrentWorkingDir );
aXMLFile = getFirstExisting( aCurrentWorkingDir, aSubdirs, aXMLName );