[Libreoffice-commits] .: l10ntools/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Tue Feb 7 05:42:16 PST 2012
l10ntools/source/helpmerge.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit b20c766ff6f9af8925bf5dad4879f9065368a0b1
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Feb 7 14:40:43 2012 +0100
Freed l10ntools from tools/string; Windows redux
diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx
index ff1c7c7..431c60b 100644
--- a/l10ntools/source/helpmerge.cxx
+++ b/l10ntools/source/helpmerge.cxx
@@ -437,7 +437,7 @@ bool HelpParser::MergeSingleFile( XMLFile* file , MergeDataFile& aMergeDataFile
#if defined(UNX)
rc = rename( sTempFile.getStr() , sTargetFile.getStr() );
#else
- rc = MoveFileEx( sTempFile.GetBuffer() , sTargetFile.GetBuffer(), MOVEFILE_REPLACE_EXISTING );
+ rc = MoveFileEx( sTempFile.getStr() , sTargetFile.getStr(), MOVEFILE_REPLACE_EXISTING );
#endif
FileStat aFS( aTar );
@@ -463,7 +463,7 @@ bool HelpParser::MergeSingleFile( XMLFile* file , MergeDataFile& aMergeDataFile
#if defined(UNX)
rc = rename( sTempFileCopy.getStr() , sTargetFile.getStr() );
#else
- rc = MoveFileEx( sTempFileCopy.GetBuffer() , sTargetFile.GetBuffer() , MOVEFILE_REPLACE_EXISTING );
+ rc = MoveFileEx( sTempFileCopy.getStr() , sTargetFile.getStr() , MOVEFILE_REPLACE_EXISTING );
#endif
aFS.Update( aTar );
More information about the Libreoffice-commits
mailing list