summaryrefslogtreecommitdiff
path: root/forms/source/runtime
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-22 13:03:06 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-22 13:04:19 +0300
commitf12237c4c6239428b00dd4885a25bbc3b4f14368 (patch)
treec63ec38956f8abc92dc288739943a0cc083a879b /forms/source/runtime
parente139290ca19b5cf00d1408925d918dbfddebe330 (diff)
More hacking on --disable-database-connectivity
Change-Id: Iefa6b104c60464e5a0d793bd676d8ea7ff2727c1
Diffstat (limited to 'forms/source/runtime')
-rw-r--r--forms/source/runtime/formoperations.cxx3
1 files changed, 3 insertions, 0 deletions
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 <config_features.h>
#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& )
{