diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-07-10 23:20:09 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-07-10 23:21:29 +0200 |
commit | 9e73f972b0e9a3e7b59c8e770b14c3d539600b06 (patch) | |
tree | ecfe28bcfaf691ae104dde4fb54c1f8618a0d5f0 | |
parent | changes to "Replaced deprecated tools/String with OUString in ScAddInCol" (diff) | |
download | core-9e73f972b0e9a3e7b59c8e770b14c3d539600b06.tar.gz core-9e73f972b0e9a3e7b59c8e770b14c3d539600b06.zip |
Remove unused methods:
Change-Id: Iad15c92be13ba9e6120f7306543c88a04893d2c7
dbtools::SQLExceptionIteratorHelper::SQLExceptionIteratorHelper(com::sun::star::sdb::SQLContext const&)
dbtools::SQLExceptionIteratorHelper::SQLExceptionIteratorHelper(com::sun::star::sdbc::SQLWarning const&)
-rw-r--r-- | connectivity/inc/connectivity/dbexception.hxx | 16 | ||||
-rw-r--r-- | connectivity/source/commontools/dbexception.cxx | 14 | ||||
-rwxr-xr-x | unusedcode.easy | 2 |
3 files changed, 0 insertions, 32 deletions
diff --git a/connectivity/inc/connectivity/dbexception.hxx b/connectivity/inc/connectivity/dbexception.hxx index 7d667a43fffc..90a5e5eb7a9e 100644 --- a/connectivity/inc/connectivity/dbexception.hxx +++ b/connectivity/inc/connectivity/dbexception.hxx @@ -167,22 +167,6 @@ public: */ SQLExceptionIteratorHelper( const ::com::sun::star::sdbc::SQLException& _rChainStart ); - /** constructs an iterator instance from an SQLWarning - - @param _rChainStart - the start of the exception chain to iterate. Must live as long as the iterator - instances lives, at least. - */ - SQLExceptionIteratorHelper( const ::com::sun::star::sdbc::SQLWarning& _rChainStart ); - - /** constructs an iterator instance from an SQLContext - - @param _rChainStart - the start of the exception chain to iterate. Must live as long as the iterator - instances lives, at least. - */ - SQLExceptionIteratorHelper( const ::com::sun::star::sdb::SQLContext& _rChainStart ); - /** constructs an iterator instance from an SQLExceptionInfo @param _rErrorInfo diff --git a/connectivity/source/commontools/dbexception.cxx b/connectivity/source/commontools/dbexception.cxx index 4184b56907c2..c064d6924cf4 100644 --- a/connectivity/source/commontools/dbexception.cxx +++ b/connectivity/source/commontools/dbexception.cxx @@ -288,20 +288,6 @@ SQLExceptionIteratorHelper::SQLExceptionIteratorHelper( const ::com::sun::star:: } //------------------------------------------------------------------------------ -SQLExceptionIteratorHelper::SQLExceptionIteratorHelper( const ::com::sun::star::sdbc::SQLWarning& _rChainStart ) - :m_pCurrent( &_rChainStart ) - ,m_eCurrentType( SQLExceptionInfo::SQL_WARNING ) -{ -} - -//------------------------------------------------------------------------------ -SQLExceptionIteratorHelper::SQLExceptionIteratorHelper( const ::com::sun::star::sdb::SQLContext& _rChainStart ) - :m_pCurrent( &_rChainStart ) - ,m_eCurrentType( SQLExceptionInfo::SQL_CONTEXT ) -{ -} - -//------------------------------------------------------------------------------ void SQLExceptionIteratorHelper::current( SQLExceptionInfo& _out_rInfo ) const { switch ( m_eCurrentType ) diff --git a/unusedcode.easy b/unusedcode.easy index 34f825b2a76c..86768bebb542 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -328,8 +328,6 @@ connectivity::sdbcx::OGroup::OGroup(unsigned char) connectivity::toString(com::sun::star::uno::Any const&) cppcanvas::internal::ImplSprite::ImplSprite(com::sun::star::uno::Reference<com::sun::star::rendering::XSpriteCanvas> const&, com::sun::star::uno::Reference<com::sun::star::rendering::XAnimatedSprite> const&, boost::shared_ptr<cppcanvas::internal::ImplSpriteCanvas::TransformationArbiter> const&) dbtools::DBTypeConversion::toINT64(com::sun::star::util::DateTime const&) -dbtools::SQLExceptionIteratorHelper::SQLExceptionIteratorHelper(com::sun::star::sdb::SQLContext const&) -dbtools::SQLExceptionIteratorHelper::SQLExceptionIteratorHelper(com::sun::star::sdbc::SQLWarning const&) dbtools::getConnection(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&) drawinglayer::attribute::SdrFormTextAttribute::getFormTextShdwTransp() const drawinglayer::attribute::SdrTextAttribute::isWrongSpell() const |