l10ntools/source/helpex.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit c9bc4a04064f15906ab94cd6c0b175609f3a2ad2 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Dec 21 21:22:31 2011 +0100 rtl::OString::copy with count too large raises assert. diff --git a/l10ntools/source/helpex.cxx b/l10ntools/source/helpex.cxx index 1925285..2680c59 100644 --- a/l10ntools/source/helpex.cxx +++ b/l10ntools/source/helpex.cxx @@ -213,10 +213,10 @@ int _cdecl main( int argc, char *argv[] ) }else if ( sOutputFileX.getLength() && sOutputFileY.getLength() && hasInputList ) { // Merge multiple files ? if ( bMergeMode ){ - ifstream aFStream( sInputFile.copy( 1 , sInputFile.getLength() ).getStr() , ios::in ); + ifstream aFStream( sInputFile.copy( 1 ).getStr() , ios::in ); if( !aFStream ){ - cerr << "ERROR: - helpex - Can't open the file " << sInputFile.copy( 1 , sInputFile.getLength() ).getStr() << "\n"; + cerr << "ERROR: - helpex - Can't open the file " << sInputFile.copy( 1 ).getStr() << "\n"; exit(-1); } _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits