summaryrefslogtreecommitdiff
path: root/transex3
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2009-02-11 07:51:53 +0000
committerOliver Bolte <obo@openoffice.org>2009-02-11 07:51:53 +0000
commitb8128f15549ddc463545f068d482a79bb3ef30f8 (patch)
treeb75a3235b2294f06f3002c60c9c9d61268fe25bb /transex3
parent32e6165baecd2a341ba898f7b0a886531be3eec4 (diff)
CWS-TOOLING: integrate CWS ab61
2009-01-29 09:39:19 +0100 jsk r267096 : #i97038 2009-01-20 12:35:31 +0100 ab r266568 : #i94994# Applied patch 2009-01-19 17:50:55 +0100 ab r266514 : #i97038# Applied patch 2009-01-13 14:47:20 +0100 ab r266226 : #i96087# Applied patch 2009-01-13 12:24:30 +0100 ab r266207 : #i95200# Applied patch 2008-12-19 16:37:32 +0100 ab r265735 : #i93214# Applied patch 2008-12-19 16:21:38 +0100 ab r265730 : #i57749# Applied patch
Diffstat (limited to 'transex3')
-rw-r--r--transex3/source/xmlparse.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/transex3/source/xmlparse.cxx b/transex3/source/xmlparse.cxx
index a2212783ad56..921f1d329f67 100644
--- a/transex3/source/xmlparse.cxx
+++ b/transex3/source/xmlparse.cxx
@@ -32,14 +32,14 @@
#include "precompiled_transex3.hxx"
#include <iterator> /* std::iterator*/
-
#include <stdio.h>
#include <sal/alloca.h>
#include "xmlparse.hxx"
#include <fstream>
#include <iostream>
-#include "osl/mutex.hxx"
+#include <osl/mutex.hxx>
+#include <osl/thread.hxx>
#ifdef __MINGW32__
#include <tools/prewin.h>
#include <tools/postwin.h>
@@ -281,11 +281,11 @@ BOOL XMLFile::Write( ByteString &aFilename )
if( !aFStream ) // From time to time the stream can not be opened the first time on NFS volumes,
{ // I wasn't able to track this down. I think this is an NFS issue .....
//cerr << "ERROR: - helpex - Can't write to tempfile " << aFilename.GetBuffer() << " No#" << x << "\n";
-#if defined(UNX) || defined(OS2)
- sleep( 3 );
-#else
- Sleep( 3 );
-#endif
+ TimeValue aTime;
+ aTime.Seconds = 3;
+ aTime.Nanosec = 0;
+
+ osl::Thread::wait( aTime );
}
else
{