diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-14 23:43:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-15 15:41:13 +0100 |
commit | 9bf2d51927c3ac87b32b996a65bd30618b4ce58c (patch) | |
tree | a83e3fa81029982c5c5d311bff401eae54f52e66 /connectivity | |
parent | f03a3edf2523c208948059861e0df48567834d0d (diff) |
callcatcher: chainsaw out some unnecessary code
Change-Id: I88de7a942fbc9e0c51a3261236f5203f037d2392
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/file/FStatement.cxx | 14 | ||||
-rw-r--r-- | connectivity/source/inc/file/FStatement.hxx | 1 | ||||
-rw-r--r-- | connectivity/source/inc/sqlscan.hxx | 1 | ||||
-rwxr-xr-x | connectivity/source/parse/sqlflex.l | 1 |
4 files changed, 0 insertions, 17 deletions
diff --git a/connectivity/source/drivers/file/FStatement.cxx b/connectivity/source/drivers/file/FStatement.cxx index cd178c8700cc..8581d04bb81f 100644 --- a/connectivity/source/drivers/file/FStatement.cxx +++ b/connectivity/source/drivers/file/FStatement.cxx @@ -230,20 +230,6 @@ void OStatement_Base::clearMyResultSet () throw (SQLException) m_xResultSet = Reference< XResultSet>(); } -//-------------------------------------------------------------------- -// setWarning -// Sets the warning -//-------------------------------------------------------------------- - -void OStatement_Base::setWarning (const SQLWarning &ex) throw( SQLException) -{ - RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "OStatement_Base::setWarning " ); - ::osl::MutexGuard aGuard( m_aMutex ); - checkDisposed(OStatement_BASE::rBHelper.bDisposed); - - - m_aLastWarning = ex; -} // ------------------------------------------------------------------------- Any SAL_CALL OStatement_Base::getWarnings( ) throw(SQLException, RuntimeException) diff --git a/connectivity/source/inc/file/FStatement.hxx b/connectivity/source/inc/file/FStatement.hxx index b7a0bee2c96e..a0772b3d472f 100644 --- a/connectivity/source/inc/file/FStatement.hxx +++ b/connectivity/source/inc/file/FStatement.hxx @@ -119,7 +119,6 @@ namespace connectivity void reset () throw( ::com::sun::star::sdbc::SQLException); void clearMyResultSet () throw( ::com::sun::star::sdbc::SQLException); - void setWarning (const ::com::sun::star::sdbc::SQLWarning &ex) throw( ::com::sun::star::sdbc::SQLException); sal_Int32 getPrecision ( sal_Int32 sqlType); void disposeResultSet(); diff --git a/connectivity/source/inc/sqlscan.hxx b/connectivity/source/inc/sqlscan.hxx index 1b854f0e76ee..d469f827e54d 100644 --- a/connectivity/source/inc/sqlscan.hxx +++ b/connectivity/source/inc/sqlscan.hxx @@ -69,7 +69,6 @@ namespace connectivity void setScanner(sal_Bool _bNull=sal_False); // rules settings void SetRule(sal_Int32 nRule) {m_nRule = nRule;} - sal_Int32 GetCurrentRule() const; sal_Int32 GetGERRule() const; sal_Int32 GetENGRule() const; sal_Int32 GetSQLRule() const; diff --git a/connectivity/source/parse/sqlflex.l b/connectivity/source/parse/sqlflex.l index 43b5c29284e0..d17128ec64a9 100755 --- a/connectivity/source/parse/sqlflex.l +++ b/connectivity/source/parse/sqlflex.l @@ -799,7 +799,6 @@ IParseContext::InternationalKeyCode OSQLScanner::getInternationalTokenID(const s return (m_bInternational) ? m_pContext->getIntlKeyCode(::rtl::OString(sToken) ) : IParseContext::KEY_NONE; } // ------------------------------------------------------------------------- -sal_Int32 OSQLScanner::GetCurrentRule() const { return m_nRule; } sal_Int32 OSQLScanner::GetGERRule() const { return PREDICATE_GER; } sal_Int32 OSQLScanner::GetENGRule() const { return PREDICATE_ENG; } sal_Int32 OSQLScanner::GetSQLRule() const { return SQL; } |