diff options
author | sb <sb@openoffice.org> | 2010-04-23 09:28:06 +0200 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-04-23 09:28:06 +0200 |
commit | c82ef63363e60511f45f732ab051c276dca3a825 (patch) | |
tree | 652d9e53948c5bd391a6ca39ec5edbc2015d7f3b /vcl/source | |
parent | 07c8f1becb0aa559a805c80a70182f29bb7a1e22 (diff) | |
parent | fef69e9f3db158f2e27b1654dd00ec00060602e8 (diff) |
sb122: merged in DEV300_m77 via cws/sb121
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/app/svapp.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index 7cec6867e0a3..e503172eb2c6 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -1975,11 +1975,14 @@ BOOL Application::IsHeadlessModeEnabled() void Application::ShowNativeErrorBox(const String& sTitle , const String& sMessage) { - ImplGetSalSystem()->ShowNativeMessageBox ( + int btn = ImplGetSalSystem()->ShowNativeMessageBox ( sTitle, sMessage, SALSYSTEM_SHOWNATIVEMSGBOX_BTNCOMBI_OK, SALSYSTEM_SHOWNATIVEMSGBOX_BTN_OK); + if (btn != SALSYSTEM_SHOWNATIVEMSGBOX_BTN_OK) { + OSL_TRACE("ShowNativeMessageBox returned %d\n", btn); + } } // ----------------------------------------------------------------------- |