summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2018-10-09 19:29:54 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2018-11-20 09:19:09 +0100
commit6cdfe5ebb4f6c06bfa8b0e67e778dd68131c14e3 (patch)
tree01380d838feb9158ef40302afc041cbaba5192e0 /vcl/workben
parentd220e476df38e86e094066a690985c624316d37f (diff)
Drop some headless mode variants
This fixes OSX "make debugrun" by dropping VCL_HIDE_WINDOWS handling and removing the internal GetPseudoHeadless() API. While at it moves the DialogCancelMode enum out of Application. Change-Id: I4876e752ddbfc39dd44faa673fb0e97810089a75 Reviewed-on: https://gerrit.libreoffice.org/61598 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/commonfuzzer.hxx2
-rw-r--r--vcl/workben/fftester.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/workben/commonfuzzer.hxx b/vcl/workben/commonfuzzer.hxx
index 85e772e19468..f3e2208307a8 100644
--- a/vcl/workben/commonfuzzer.hxx
+++ b/vcl/workben/commonfuzzer.hxx
@@ -120,7 +120,7 @@ void CommonInitialize(int *argc, char ***argv)
comphelper::setProcessServiceFactory( xServiceManager );
utl::ConfigManager::EnableFuzzing();
InitVCL();
- Application::SetDialogCancelMode( Application::DialogCancelMode::Silent );
+ Application::SetDialogCancelMode(DialogCancelMode::Silent);
//we don't have a de-init, so inside this leak disabled region...
//get the font info
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx
index e9e398b8b4c7..cbd736efe6ad 100644
--- a/vcl/workben/fftester.cxx
+++ b/vcl/workben/fftester.cxx
@@ -104,7 +104,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
InitVCL();
- Application::SetDialogCancelMode(Application::DialogCancelMode::Silent);
+ Application::SetDialogCancelMode(DialogCancelMode::Silent);
if (strcmp(argv[2], "wmf") == 0 || strcmp(argv[2], "emf") == 0)
{