summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-22 16:05:23 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-22 22:43:13 +0200
commitff966ca6f43e2013095f6379525f1d969e65aef4 (patch)
tree31132eef9feba36c1938d2fd04e9e1795bf6aabc /vcl
parent1d296f2b48827df13172e3b8c3fdf708807392e8 (diff)
replace DialogCancelledException with std::abort
Change-Id: Ib815c1a84efa4682ad644132ad3704f249b04a68
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/svapp.cxx2
-rw-r--r--vcl/source/window/dialog.cxx3
2 files changed, 1 insertions, 4 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 8b3d149f8714..ac2d4c80fe03 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1877,6 +1877,4 @@ Application::createFolderPicker( const Reference< uno::XComponentContext >& xSM
return pSVData->mpDefInst->createFolderPicker( xSM );
}
-Application::DialogCancelledException::~DialogCancelledException() throw () {}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index c0bb50162f9f..266a4a73dae7 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -835,8 +835,7 @@ sal_Bool Dialog::ImplStartExecuteModal()
assert(false); // this cannot happen
// fall through
case Application::DIALOG_CANCEL_FATAL:
- throw Application::DialogCancelledException(
- ImplGetDialogText(this).getStr());
+ std::abort();
}
#ifdef DBG_UTIL