auto cancel dialogs during file format testing
Change-Id: Iceef2f46759b28c0d3f60d8dcb8f470af78de3f0 Reviewed-on: https://gerrit.libreoffice.org/45043 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
6191f701e8
commit
6e3f7cd2d5
2 changed files with 3 additions and 0 deletions
|
@ -100,6 +100,7 @@ void CommonInitialize(int *argc, char ***argv)
|
|||
comphelper::setProcessServiceFactory( xServiceManager );
|
||||
utl::ConfigManager::EnableFuzzing();
|
||||
InitVCL();
|
||||
Application::SetDialogCancelMode( Application::DialogCancelMode::Silent );
|
||||
|
||||
//we don't have a de-init, so inside this leak disabled region...
|
||||
//get the font info
|
||||
|
|
|
@ -102,6 +102,8 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
|
|||
|
||||
InitVCL();
|
||||
|
||||
Application::SetDialogCancelMode(Application::DialogCancelMode::Silent);
|
||||
|
||||
if (strcmp(argv[2], "wmf") == 0 || strcmp(argv[2], "emf") == 0)
|
||||
{
|
||||
GDIMetaFile aGDIMetaFile;
|
||||
|
|
Loading…
Reference in a new issue