diff --git a/source/java/org/openoffice/da/comp/writer4latex/TeXify.java b/source/java/org/openoffice/da/comp/writer4latex/TeXify.java index e88462c..ea117dc 100644 --- a/source/java/org/openoffice/da/comp/writer4latex/TeXify.java +++ b/source/java/org/openoffice/da/comp/writer4latex/TeXify.java @@ -37,7 +37,7 @@ import com.sun.star.uno.XComponentContext; * the result. */ public final class TeXify { - + /** Backend format generic (dvi) */ public static final short GENERIC = 1; @@ -138,7 +138,7 @@ public final class TeXify { for (int i=0; i env =null; - if (ExternalApps.BIBTEX.equals(sAppList[i])) { + if (ExternalApps.BIBTEX.equals(sAppList[i]) && sBibinputs!=null) { env = new HashMap(); env.put("BIBINPUTS", sBibinputs); } @@ -147,8 +147,9 @@ public final class TeXify { if (i==0 && nReturnCode>0) { return false; //throw new IOException("Error executing "+sAppList[i]); - } + } } + return true; }