Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


This patch removes unused code as listed in unusedcode.easy
From 7b4e4199bdf631796f69813e60c296b0a0561e0c Mon Sep 17 00:00:00 2001
From: Santiago Martinez <smvarela@gmail.com>
Date: Wed, 7 Mar 2012 20:32:25 +0100
Subject: [PATCH] Remove unused code

---
 connectivity/inc/connectivity/dbcharset.hxx   |    1 -
 connectivity/source/commontools/dbcharset.cxx |    6 ------
 unusedcode.easy                               |    1 -
 3 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/connectivity/inc/connectivity/dbcharset.hxx 
b/connectivity/inc/connectivity/dbcharset.hxx
index 60c96fb..cb13fcd 100644
--- a/connectivity/inc/connectivity/dbcharset.hxx
+++ b/connectivity/inc/connectivity/dbcharset.hxx
@@ -116,7 +116,6 @@ namespace dbtools
         ::rtl::OUString     getIanaName() const { return m_aIanaName; }
 
     protected:
-        CharsetIteratorDerefHelper();
         CharsetIteratorDerefHelper( const rtl_TextEncoding _eEncoding, const ::rtl::OUString& 
_rIanaName );
 
     };
diff --git a/connectivity/source/commontools/dbcharset.cxx 
b/connectivity/source/commontools/dbcharset.cxx
index 87b78c4..45729df 100644
--- a/connectivity/source/commontools/dbcharset.cxx
+++ b/connectivity/source/commontools/dbcharset.cxx
@@ -154,12 +154,6 @@ namespace dbtools
     {
     }
 
-    //-------------------------------------------------------------------------
-    CharsetIteratorDerefHelper::CharsetIteratorDerefHelper()
-        :m_eEncoding(RTL_TEXTENCODING_DONTKNOW)
-    {
-    }
-
     //=========================================================================
     //= OCharsetMap::CharsetIterator
     //=========================================================================
diff --git a/unusedcode.easy b/unusedcode.easy
index 80eff11..9e16d5f 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -875,7 +875,6 @@ cppcanvas::internal::(anonymous namespace)::TransparencyGroupAction::Transparenc
 
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&)
 cppcanvas::internal::ImplText::ImplText(boost::shared_ptr<cppcanvas::Canvas> const&, rtl::OUString 
const&)
 dbaui::getKeyColumns(com::sun::star::uno::Reference<com::sun::star::container::XIndexAccess> 
const&, int)
-dbtools::CharsetIteratorDerefHelper::CharsetIteratorDerefHelper()
 dbtools::DBTypeConversion::toINT64(com::sun::star::util::DateTime const&)
 dbtools::SQLExceptionInfo::SQLExceptionInfo(com::sun::star::sdb::SQLErrorEvent const&)
 dbtools::SQLExceptionIteratorHelper::SQLExceptionIteratorHelper(com::sun::star::sdb::SQLContext 
const&)
-- 
1.7.7.6


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.