diff options
author | Juergen Schmidt <jsc@openoffice.org> | 2001-11-26 11:20:23 +0000 |
---|---|---|
committer | Juergen Schmidt <jsc@openoffice.org> | 2001-11-26 11:20:23 +0000 |
commit | ca9536bcb07441417173205f9abaf799b3342125 (patch) | |
tree | 4b40ebd00f532a50a3581956aebbb0f348001a6a /rdbmaker | |
parent | 97efc4d1abc89eb0d05da353946e7a2c638fd8e1 (diff) |
#94607# change name of temp file
Diffstat (limited to 'rdbmaker')
-rw-r--r-- | rdbmaker/source/codemaker/global.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rdbmaker/source/codemaker/global.cxx b/rdbmaker/source/codemaker/global.cxx index fad1c0102..a6408ecfc 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 |