diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-05 08:38:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-05 13:59:06 +0100 |
commit | 53600134ec737d50808c0f630b536229ad3310bb (patch) | |
tree | 266c4120a30a0acdfc814fd7022277510bd7d6df /connectivity | |
parent | 5688b51bcb23b12b335dadf4430b7b7c4407cbfb (diff) |
no use is made of FmFormObj::m_nType
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mozab/MPreparedStatement.cxx | 7 | ||||
-rw-r--r-- | connectivity/source/drivers/mozab/MPreparedStatement.hxx | 3 |
2 files changed, 1 insertions, 9 deletions
diff --git a/connectivity/source/drivers/mozab/MPreparedStatement.cxx b/connectivity/source/drivers/mozab/MPreparedStatement.cxx index bc19e36a99f2..c9b27e306293 100644 --- a/connectivity/source/drivers/mozab/MPreparedStatement.cxx +++ b/connectivity/source/drivers/mozab/MPreparedStatement.cxx @@ -382,12 +382,7 @@ void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,cons OCommonStatement::setFastPropertyValue_NoBroadcast(nHandle,rValue); } } -// ----------------------------------------------------------------------------- -void OPreparedStatement::checkParameterIndex(sal_Int32 _parameterIndex) -{ - if( !_parameterIndex || _parameterIndex > m_nNumParams) - ::dbtools::throwInvalidIndexException(*this); -} + // ----------------------------------------------------------------------------- void OPreparedStatement::checkAndResizeParameters(sal_Int32 parameterIndex) { diff --git a/connectivity/source/drivers/mozab/MPreparedStatement.hxx b/connectivity/source/drivers/mozab/MPreparedStatement.hxx index 2151b3d43112..eca24fd8b5bb 100644 --- a/connectivity/source/drivers/mozab/MPreparedStatement.hxx +++ b/connectivity/source/drivers/mozab/MPreparedStatement.hxx @@ -78,9 +78,6 @@ namespace connectivity ::rtl::Reference<connectivity::OSQLColumns> m_xParamColumns; // the parameter columns OValueRow m_aParameterRow; - - void checkParameterIndex(sal_Int32 _parameterIndex); - protected: virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue) |