w2l BibTeX bugfixes

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@262 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2015-07-01 07:11:19 +00:00
parent b5966134d5
commit 5e9dfc8678
2 changed files with 9 additions and 4 deletions

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.6 (2015-06-22)
* Version 1.6 (2015-07-01)
*
*/
@ -65,6 +65,7 @@ public class BibTeXDocument implements OutputFile {
* @param ofr the office document
*/
public BibTeXDocument(String sName, boolean bIsMaster, OfficeReader ofr) {
this.sName = sName;
this.bIsMaster = bIsMaster;
loadEntries(ofr);
// Use default config (only ascii, no extra font packages)
@ -87,7 +88,7 @@ public class BibTeXDocument implements OutputFile {
* @return true if there is one or more entries in the document
*/
public boolean isEmpty() {
return entries.size()>0;
return entries.size()==0;
}
/** Get export name for an identifier