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
commite57168966c81a61e6a736e08c2bc8bc909a01efe (patch)
treeac4074b843820e67c95f8a9a981c9786edf6e9f4 /codemaker
parent8789a4916a33c6cbaca8ce90d7917f0339f7ea56 (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 c273c6efacf8..d19653de8ddc 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