|
a/src/qtgui/preview_w.cpp |
|
b/src/qtgui/preview_w.cpp |
|
... |
|
... |
673 |
Preview::tr("File does not exist"));
|
673 |
Preview::tr("File does not exist"));
|
674 |
*statusp = -1;
|
674 |
*statusp = -1;
|
675 |
return;
|
675 |
return;
|
676 |
}
|
676 |
}
|
677 |
|
677 |
|
678 |
FileInterner interner(filename, &st, rclconfig, tmpdir, mtype);
|
678 |
FileInterner interner(filename, &st, rclconfig, tmpdir,
|
|
|
679 |
FileInterner::FIF_forPreview,
|
|
|
680 |
mtype);
|
679 |
// We don't set the interner's target mtype to html because we
|
681 |
// We don't set the interner's target mtype to html because we
|
680 |
// do want the html filter to do its work: we won't use the
|
682 |
// do want the html filter to do its work: we won't use the
|
681 |
// text, but we need the conversion to utf-8
|
683 |
// text, but we need the conversion to utf-8
|
682 |
// interner.setTargetMType("text/html");
|
684 |
// interner.setTargetMType("text/html");
|
683 |
try {
|
685 |
try {
|