diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/DocumentPreviewTooLarge.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/DocumentPreviewTooLarge.java index d7523dafe..23262acfb 100644 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/DocumentPreviewTooLarge.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/DocumentPreviewTooLarge.java @@ -761,7 +761,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) { }// //GEN-END:initComponents private void cmdForcePreviewActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdForcePreviewActionPerformed - new Thread(new LoadDocumentPreviewThread(null, this.caseDto, this.docDto, this.readOnly, this.pnlPreview, true, this.saveCallback)).start(); + new Thread(new LoadDocumentPreviewThread(this.caseDto, this.docDto, this.readOnly, this.pnlPreview, true, this.saveCallback)).start(); }//GEN-LAST:event_cmdForcePreviewActionPerformed private void cmdPreviewSettingsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdPreviewSettingsActionPerformed diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java index 040c10b4b..05c9f5289 100755 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java @@ -4670,7 +4670,7 @@ public void updateDocumentPreview() { } else { ArchiveFileDocumentsBean value = selectedDocs.get(0); - new Thread(new LoadDocumentPreviewThread(this.splitDocumentsMain, this.dto, value, this.readOnly, this.pnlPreview, false, this)).start(); + new Thread(new LoadDocumentPreviewThread(this.dto, value, this.readOnly, this.pnlPreview, false, this)).start(); } }