summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2001-11-15 12:00:46 +0000
committerJuergen Schmidt <jsc@openoffice.org>2001-11-15 12:00:46 +0000
commit4b11977efcc3ec786341ac2db6ca05d743b60f85 (patch)
tree3bd3b1bc6ef28577cc0a31c1117054b3627e27b2 /codemaker
parent165478d0331388587314a529803adff0cf97c0b1 (diff)
#94723# rename temp file
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/codemaker/global.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx
index 93afc7953..2989e1abe 100644
--- a/codemaker/source/codemaker/global.cxx
+++ b/codemaker/source/codemaker/global.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: global.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: jsc $ $Date: 2001-08-17 13:15:48 $
+ * last change: $Author: jsc $ $Date: 2001-11-15 13:00:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -307,7 +307,7 @@ sal_Bool checkFileContent(const OString& targetFileName, const OString& tmpFileN
if ( bFindChanges )
{
if ( !unlink(targetFileName.getStr()) )
- if ( !rename(targetFileName.getStr(), tmpFileName.getStr()) )
+ if ( !rename(tmpFileName.getStr(), targetFileName.getStr()) )
ret = sal_True;
}
else