From 701bbaf93f0d31ae73e94e0cebccb1cfba0e5882 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Mon, 23 Jun 2014 22:14:26 +0200 Subject: [PATCH] Resolves fdo#75339 : No Error-Dialog appears in specific cases in Base If SQLexception, just retrieve the information and display it Change-Id: I236d1b7bc07dbbfa9c30b845a145208d1d3727f5 --- svx/source/fmcomp/gridctrl.cxx | 3 +++ 1 file changed, 3 insertions(+) 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; }