Index: src/wp/ap/xp/ap_EditMethods.cpp =================================================================== --- src/wp/ap/xp/ap_EditMethods.cpp (revision 21482) +++ src/wp/ap/xp/ap_EditMethods.cpp (working copy) @@ -1797,8 +1797,7 @@ == XAP_Dialog_MessageBox::a_YES); } -#if XAP_DONT_CONFIRM_QUIT -#else + static bool s_AskCloseAllAndExit(XAP_Frame * pFrame) { // return true if we should quit. @@ -1808,7 +1807,6 @@ == XAP_Dialog_MessageBox::a_YES); } -#endif static XAP_Dialog_MessageBox::tAnswer s_AskSaveFile(XAP_Frame * pFrame) { @@ -3696,8 +3694,7 @@ if (pFrame) { -#if XAP_DONT_CONFIRM_QUIT -#else + if (1 < pApp->getFrameCount()) { if (!s_AskCloseAllAndExit(pFrame)) @@ -3706,7 +3703,6 @@ return false; } } -#endif } if (pApp->getFrameCount()) { UT_uint32 ndx = pApp->getFrameCount();