diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 21:17:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 21:17:14 +0100 |
commit | acc2e9d7197e75aa435fe71095e39910076e14e5 (patch) | |
tree | 5d6520812571a3a690bbef1bf2553bf47d348db8 /svx/source/form | |
parent | d80740fc9b457887ae6857969fa5fb828e12d278 (diff) |
callcatcher: remove unused non-class level methods
Diffstat (limited to 'svx/source/form')
-rw-r--r-- | svx/source/form/fmtools.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/svx/source/form/fmtools.cxx b/svx/source/form/fmtools.cxx index ba335ba09209..5ab40f1880da 100644 --- a/svx/source/form/fmtools.cxx +++ b/svx/source/form/fmtools.cxx @@ -462,25 +462,6 @@ sal_Int16 getControlTypeByObject(const Reference< ::com::sun::star::lang::XServi } //------------------------------------------------------------------------------ -void setConnection(const Reference< ::com::sun::star::sdbc::XRowSet>& _rxRowSet, const Reference< ::com::sun::star::sdbc::XConnection>& _rxConn) -{ - RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "svx", "Ocke.Janssen@sun.com", "fmtools::setConnection" ); - Reference< ::com::sun::star::beans::XPropertySet> xRowSetProps(_rxRowSet, UNO_QUERY); - if (xRowSetProps.is()) - { - try - { - Any aConn(makeAny(_rxConn)); - xRowSetProps->setPropertyValue(FM_PROP_ACTIVE_CONNECTION, aConn); - } - catch(Exception&) - { - OSL_FAIL("::setConnection : could not set the connection !"); - } - - } -} -//------------------------------------------------------------------------------ sal_Bool isRowSetAlive(const Reference< XInterface >& _rxRowSet) { RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "svx", "Ocke.Janssen@sun.com", "fmtools::isRowSetAlive" ); |