diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-04 20:12:20 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:50:40 +0100 |
commit | b8e17a39d315992b8417e76940767bcbad3fae9c (patch) | |
tree | 066c02866fc17665bef883470eef89f521f478f7 /svx/source/form/fmshell.cxx | |
parent | 145cede37c7b85596e2e9187d092ff5811fe718f (diff) |
Remove unused macros HANDLE_SQL_ERRORS and DO_SAFE_WITH_ERROR
Diffstat (limited to 'svx/source/form/fmshell.cxx')
-rw-r--r-- | svx/source/form/fmshell.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx index 6467232fcfe3..1ba31f662df0 100644 --- a/svx/source/form/fmshell.cxx +++ b/svx/source/form/fmshell.cxx @@ -94,27 +94,6 @@ #include "svx/sdrobjectfilter.hxx" -#define HANDLE_SQL_ERRORS( action, successflag, context, message ) \ - try \ - { \ - successflag = sal_False; \ - action; \ - successflag = sal_True; \ - } \ - catch(::com::sun::star::sdbc::SQLException& e) \ - { \ - ::com::sun::star::sdb::SQLContext eExtendedInfo = \ - GetImpl()->prependContextInfo(e, Reference< XInterface > (), context, ::rtl::OUString()); \ - displayException(eExtendedInfo); \ - } \ - catch(Exception&) \ - { \ - DBG_ERROR(message); \ - } \ - - -#define DO_SAFE_WITH_ERROR( action, message ) try { action; } catch(Exception&) { DBG_ERROR(message); } - #define FmFormShell #include "svxslots.hxx" |