• Maxim Monastirsky's avatar
    fdo#68099 Move pdf viewer call to GUI related code · 7722a590
    Maxim Monastirsky yazdı
    This change fixes two bugs:
    1) In it's old location at PDFFilter::implExport, the pdf viewer is called
    *before* the final file is actually written. It causes a problem under
    Windows, because we use ShellExecute function which fails if the file
    doesn't exist. Calling a function blocks execution, so we have no chance
    to write the file before that function fails. (fdo#68099)
    2) Being a part of the saving/filter code means that the pdf viewer will
    open even when converting to a pdf in headless mode. It's definitely not
    something that we want to happen.
    
    Change-Id: I1a6f70ec76100ac9e008869aa57ad738ced3ab6c
    Reviewed-on: https://gerrit.libreoffice.org/6565Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
    Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
    7722a590
Adı
Son kayıt (commit)
Son güncelleme
..
doc Loading commit data...
inc Loading commit data...
qa Loading commit data...
sdi Loading commit data...
source Loading commit data...
uiconfig/ui Loading commit data...
util Loading commit data...
AllLangResTarget_sfx2.mk Loading commit data...
CppunitTest_sfx2_metadatable.mk Loading commit data...
JunitTest_sfx2_complex.mk Loading commit data...
JunitTest_sfx2_unoapi.mk Loading commit data...
Library_qstart_gtk.mk Loading commit data...
Library_sfx.mk Loading commit data...
Makefile Loading commit data...
Module_sfx2.mk Loading commit data...
README Loading commit data...
UIConfig_sfx.mk Loading commit data...