[Libreoffice-commits] core.git: svx/source
Julien Nabet
serval2412 at yahoo.fr
Mon Jun 23 13:15:20 PDT 2014
svx/source/fmcomp/gridctrl.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 701bbaf93f0d31ae73e94e0cebccb1cfba0e5882
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Mon Jun 23 22:14:26 2014 +0200
Resolves fdo#75339 : No Error-Dialog appears in specific cases in Base
If SQLexception, just retrieve the information and display it
Change-Id: I236d1b7bc07dbbfa9c30b845a145208d1d3727f5
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index fd54088..89beac5 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;
}
More information about the Libreoffice-commits
mailing list