w2x fix for infinite loop (bugtracker#4)

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@258 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2015-06-23 20:11:50 +00:00
parent 729e088fa2
commit 1d33ea6222
3 changed files with 9 additions and 6 deletions

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.6 (2015-06-19)
* Version 1.6 (2015-06-23)
*
*/
@ -33,7 +33,7 @@ public class ConverterFactory {
// Version information
private static final String VERSION = "1.5.3";
private static final String DATE = "2015-06-19";
private static final String DATE = "2015-06-23";
/** Return the Writer2LaTeX version in the form
* (major version).(minor version).(patch level)<br/>

View file

@ -16,11 +16,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
* Copyright: 2002-2012 by Henrik Just
* Copyright: 2002-2015 by Henrik Just
*
* All Rights Reserved.
*
* Version 1.4 (2012-04-12)
* Version 1.6 (2015-06-23)
*
*/
@ -478,7 +478,7 @@ public class TableConverter extends ConverterHelper {
return in.getNumber()+in.getIdentifier();
}
// skip other characters
while (in.peekChar()!=' ' && in.peekChar()!='\0') { }
while (in.peekChar()!=' ' && in.peekChar()!='\0') { in.getChar(); }
}
return "0";
}