diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-31 09:46:48 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-31 09:46:48 +0000 |
commit | 1eddd90c39c4c044acc4259d276861fd6a368b51 (patch) | |
tree | 4363e0bcf5d46b29e12c1f8ae653ba9f95ce1b7d /transex3 | |
parent | b11c99ffca354c1419e61fd11cccc10868d82bab (diff) |
#i10000# masterfix build break
Diffstat (limited to 'transex3')
-rw-r--r-- | transex3/layout/tralay.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/transex3/layout/tralay.cxx b/transex3/layout/tralay.cxx index 5bb937da5cf3..740981674c50 100644 --- a/transex3/layout/tralay.cxx +++ b/transex3/layout/tralay.cxx @@ -8,7 +8,7 @@ * * $RCSfile: tralay.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * * This file is part of OpenOffice.org. * @@ -37,6 +37,7 @@ #include "export.hxx" #include "layoutparse.hxx" #include "helpmerge.hxx" +#include "xmlparse.hxx" // Convert a rtl::OUString to a byte string. #define OUSTRING_CSTR( str ) \ @@ -265,9 +266,10 @@ void TranslateLayout::MergeLanguage( ByteString const& language ) MergeDataFile mergeData( mLocalize, xmlFile, FALSE, RTL_TEXTENCODING_MS_1252 ); + DirEntry aFile( xmlFile ); SimpleXMLParser aParser; LayoutXMLFile* layoutXml = new LayoutXMLFile( mMergeMode ); - if ( !aParser.Execute( STRING( xmlFile ), layoutXml ) ) + if ( !aParser.Execute( aFile.GetFull() , STRING( xmlFile ), layoutXml ) ) { fprintf(stderr, "error: parsing: %s\n", xmlFile.GetBuffer() ); return; |