summaryrefslogtreecommitdiff
path: root/rdbmaker/source/codemaker
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2001-11-26 11:20:23 +0000
committerJuergen Schmidt <jsc@openoffice.org>2001-11-26 11:20:23 +0000
commit85415031efe91aeee7a5d29f112274575f2789bb (patch)
treee953971d423e72a930852face91c54675ab7178d /rdbmaker/source/codemaker
parentc0fcc2f520f0488fb57d864ed84e9b63740bf1ed (diff)
#94607# change name of temp file
Diffstat (limited to 'rdbmaker/source/codemaker')
-rw-r--r--rdbmaker/source/codemaker/global.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/rdbmaker/source/codemaker/global.cxx b/rdbmaker/source/codemaker/global.cxx
index e539f6405c7e..c5c8e906b80a 100644
--- a/rdbmaker/source/codemaker/global.cxx
+++ b/rdbmaker/source/codemaker/global.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: global.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: jsc $ $Date: 2001-08-17 13:09:49 $
+ * last change: $Author: jsc $ $Date: 2001-11-26 12:20:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -298,7 +298,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