[Libreoffice-commits] .: connectivity/inc connectivity/source unusedcode.easy

Julien Nabet serval2412 at kemper.freedesktop.org
Tue Jul 10 14:21:40 PDT 2012


 connectivity/inc/connectivity/dbexception.hxx   |   16 ----------------
 connectivity/source/commontools/dbexception.cxx |   14 --------------
 unusedcode.easy                                 |    2 --
 3 files changed, 32 deletions(-)

New commits:
commit 9e73f972b0e9a3e7b59c8e770b14c3d539600b06
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Tue Jul 10 23:20:09 2012 +0200

    Remove unused methods:
    
    Change-Id: Iad15c92be13ba9e6120f7306543c88a04893d2c7
    dbtools::SQLExceptionIteratorHelper::SQLExceptionIteratorHelper(com::sun::star::sdb::SQLContext const&)
    dbtools::SQLExceptionIteratorHelper::SQLExceptionIteratorHelper(com::sun::star::sdbc::SQLWarning const&)

diff --git a/connectivity/inc/connectivity/dbexception.hxx b/connectivity/inc/connectivity/dbexception.hxx
index 7d667a4..90a5e5e 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 4184b56..c064d69 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 34f825b..86768be 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


More information about the Libreoffice-commits mailing list