From 12aafb69fab3c7f91aa727ace19c1df7c53edd64 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 29 May 2016 13:14:41 +0200 Subject: Convert DialogCancelMode to scoped enum Change-Id: I7aca03334c6609a8729bbc88ada6ecce4309c21d Reviewed-on: https://gerrit.libreoffice.org/25607 Tested-by: Jenkins Reviewed-by: Noel Grandin --- framework/source/services/frame.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 279e2616979c..1dbd72316b6d 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -2133,7 +2133,7 @@ void SAL_CALL Frame::disposing() // (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::DIALOG_CANCEL_SILENT ); + Application::SetDialogCancelMode( Application::DialogCancelMode::Silent ); // We should be alone for ever and further dispose calls are rejected by lines before ... // I hope it :-) -- cgit