diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-06-23 22:14:26 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-06-23 22:14:26 +0200 |
commit | 701bbaf93f0d31ae73e94e0cebccb1cfba0e5882 (patch) | |
tree | dbb73ee6fb75d08ba8851fe2db81cdb0435d02ee /svx/source/fmcomp | |
parent | 250922293b4ba375b95325db4810c6e8cf650829 (diff) |
Resolves fdo#75339 : No Error-Dialog appears in specific cases in Base
If SQLexception, just retrieve the information and display it
Change-Id: I236d1b7bc07dbbfa9c30b845a145208d1d3727f5
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r-- | svx/source/fmcomp/gridctrl.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index fd540881bcdf..89beac5074d2 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -3141,6 +3141,9 @@ bool DbGridControl::SaveRow() catch(SQLException&) { EndCursorAction(); + Any aError = ::cppu::getCaughtException(); + if ( aError.hasValue() ) + displayException( aError ); m_bUpdating = false; return false; } |