From f12237c4c6239428b00dd4885a25bbc3b4f14368 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 22 Apr 2014 13:03:06 +0300 Subject: More hacking on --disable-database-connectivity Change-Id: Iefa6b104c60464e5a0d793bd676d8ea7ff2727c1 --- forms/source/runtime/formoperations.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'forms/source/runtime') diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx index 0ca37a5ff244..2e06b5280853 100644 --- a/forms/source/runtime/formoperations.cxx +++ b/forms/source/runtime/formoperations.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include #include "formoperations.hxx" #include "frm_strings.hxx" @@ -1741,6 +1742,7 @@ namespace frm { f(); } +#if HAVE_FEATURE_DBCONNECTIVITY catch( const SQLException& e ) { (void)e; @@ -1753,6 +1755,7 @@ namespace frm aInfo.prepend( sAdditionalError ); aInfo.doThrow(); } +#endif catch( const RuntimeException& ) { throw; } catch( const Exception& ) { -- cgit