diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-10-09 19:29:54 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-11-20 09:19:09 +0100 |
commit | 6cdfe5ebb4f6c06bfa8b0e67e778dd68131c14e3 (patch) | |
tree | 01380d838feb9158ef40302afc041cbaba5192e0 /framework | |
parent | d220e476df38e86e094066a690985c624316d37f (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 'framework')
-rw-r--r-- | framework/source/services/frame.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 8a718d787ecf..66fe3032356a 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -2115,8 +2115,8 @@ void SAL_CALL Frame::disposing() // notifications which we don't need here really. // (b) Don't forget to save the old value of IsDialogCancelEnabled() to // restore it afterwards (to not kill headless mode). - Application::DialogCancelMode old = Application::GetDialogCancelMode(); - Application::SetDialogCancelMode( Application::DialogCancelMode::Silent ); + DialogCancelMode old = Application::GetDialogCancelMode(); + Application::SetDialogCancelMode( DialogCancelMode::Silent ); // We should be alone for ever and further dispose calls are rejected by lines before ... // I hope it :-) |