summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-26 20:57:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-27 16:44:05 +0100
commitf2efc955200a8106110fb3fc0b720d0b901640e1 (patch)
tree4aaf1485b2252492fb64c1ee35ac544676765219
parent85524805bd730e31c1bfc2fd9e449e10e4e6bae1 (diff)
callcatcher: remove some unused code
Change-Id: I6b512dd2b33e2c09fad2369bb299120fc35345b0
-rw-r--r--connectivity/inc/connectivity/dbexception.hxx1
-rw-r--r--connectivity/source/commontools/dbexception.cxx7
-rw-r--r--connectivity/source/inc/internalnode.hxx3
-rw-r--r--connectivity/source/parse/internalnode.cxx10
-rw-r--r--l10ntools/inc/xmlparse.hxx4
-rw-r--r--l10ntools/source/xmlparse.cxx16
-rwxr-xr-xunusedcode.easy3
7 files changed, 0 insertions, 44 deletions
diff --git a/connectivity/inc/connectivity/dbexception.hxx b/connectivity/inc/connectivity/dbexception.hxx
index 75d0ab8b8990..7d667a43fffc 100644
--- a/connectivity/inc/connectivity/dbexception.hxx
+++ b/connectivity/inc/connectivity/dbexception.hxx
@@ -85,7 +85,6 @@ public:
SQLExceptionInfo(const SQLExceptionInfo& _rCopySource);
- SQLExceptionInfo(const ::com::sun::star::sdb::SQLErrorEvent& _rError);
// use for events got via XSQLErrorListener::errorOccured
SQLExceptionInfo(const ::com::sun::star::uno::Any& _rError);
// use with the Reason member of an SQLErrorEvent or with NextElement of an SQLException
diff --git a/connectivity/source/commontools/dbexception.cxx b/connectivity/source/commontools/dbexception.cxx
index ffd0f70e6aea..4184b56907c2 100644
--- a/connectivity/source/commontools/dbexception.cxx
+++ b/connectivity/source/commontools/dbexception.cxx
@@ -126,13 +126,6 @@ const SQLExceptionInfo& SQLExceptionInfo::operator=(const ::com::sun::star::uno:
}
//------------------------------------------------------------------------------
-SQLExceptionInfo::SQLExceptionInfo(const ::com::sun::star::sdb::SQLErrorEvent& _rError)
-{
- m_aContent = _rError.Reason;
- implDetermineType();
-}
-
-//------------------------------------------------------------------------------
SQLExceptionInfo::SQLExceptionInfo(const staruno::Any& _rError)
{
const staruno::Type& aSQLExceptionType = ::getCppuType(reinterpret_cast< ::com::sun::star::sdbc::SQLException*>(NULL));
diff --git a/connectivity/source/inc/internalnode.hxx b/connectivity/source/inc/internalnode.hxx
index f80ac0f0b1c5..7c75aec93b26 100644
--- a/connectivity/source/inc/internalnode.hxx
+++ b/connectivity/source/inc/internalnode.hxx
@@ -38,9 +38,6 @@ namespace connectivity
OSQLInternalNode(const ::rtl::OString& _rNewValue,
SQLNodeType eNodeType,
sal_uInt32 nNodeID = 0);
- OSQLInternalNode(const sal_Unicode* pNewValue,
- SQLNodeType eNodeType,
- sal_uInt32 nNodeID = 0);
OSQLInternalNode(const ::rtl::OUString& _rNewValue,
SQLNodeType eNodeType,
sal_uInt32 nNodeID = 0);
diff --git a/connectivity/source/parse/internalnode.cxx b/connectivity/source/parse/internalnode.cxx
index f0d3bcb6c130..f46421d90672 100644
--- a/connectivity/source/parse/internalnode.cxx
+++ b/connectivity/source/parse/internalnode.cxx
@@ -45,16 +45,6 @@ OSQLInternalNode::OSQLInternalNode(const ::rtl::OString &_NewValue,
}
//-----------------------------------------------------------------------------
-OSQLInternalNode::OSQLInternalNode(const sal_Unicode* pNewValue,
- SQLNodeType eNodeType,
- sal_uInt32 nNodeID)
- :OSQLParseNode(pNewValue,eNodeType,nNodeID)
-{
- OSL_ENSURE(OSQLParser::s_pGarbageCollector, "Collector not initialized");
- (*OSQLParser::s_pGarbageCollector)->push_back(this);
-}
-
-//-----------------------------------------------------------------------------
OSQLInternalNode::OSQLInternalNode(const ::rtl::OUString &_NewValue,
SQLNodeType eNodeType,
sal_uInt32 nNodeID)
diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx
index eeb86193c0e5..0a70c3d87357 100644
--- a/l10ntools/inc/xmlparse.hxx
+++ b/l10ntools/inc/xmlparse.hxx
@@ -165,10 +165,6 @@ public:
XMLChildNode *pChild /// the new child
);
- void AddChild(
- XMLChildNode *pChild , size_t pos /// the new child
- );
-
void RemoveAndDeleteAllChildren();
};
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index bcad10416232..48e0d3f97512 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -143,22 +143,6 @@ void XMLParentNode::AddChild( XMLChildNode *pChild )
}
/*****************************************************************************/
-void XMLParentNode::AddChild( XMLChildNode *pChild , size_t pos )
-/*****************************************************************************/
-{
- if ( !pChildList )
- pChildList = new XMLChildNodeList();
- if ( pos < pChildList->size() )
- {
- XMLChildNodeList::iterator it = pChildList->begin();
- ::std::advance( it, pos );
- pChildList->insert( it, pChild );
- } else {
- pChildList->push_back( pChild );
- }
-}
-
-/*****************************************************************************/
void XMLParentNode::RemoveAndDeleteAllChildren(){
/*****************************************************************************/
if ( pChildList ) {
diff --git a/unusedcode.easy b/unusedcode.easy
index d45fada264d5..18b7804b35c4 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -209,7 +209,6 @@ XMLFontAutoStylePoolNames_Impl::GetPos(rtl::OUString const*) const
XMLFontAutoStylePoolNames_Impl::Remove(rtl::OUString*)
XMLFontAutoStylePool_Impl::GetPos(XMLFontAutoStylePoolEntry_Impl const*) const
XMLFontAutoStylePool_Impl::Remove(XMLFontAutoStylePoolEntry_Impl*)
-XMLParentNode::AddChild(XMLChildNode*, unsigned long)
XMLTextListAutoStylePoolNames_Impl::GetPos(rtl::OUString const*) const
XMLTextListAutoStylePoolNames_Impl::Remove(rtl::OUString*)
XMLTextListAutoStylePool_Impl::GetPos(XMLTextListAutoStylePoolEntry_Impl const*) const
@@ -602,7 +601,6 @@ comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<co
comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&, com::sun::star::uno::Any const&) const
connectivity::OKeyValue::OKeyValue()
-connectivity::OSQLInternalNode::OSQLInternalNode(unsigned short const*, connectivity::SQLNodeType, unsigned int)
connectivity::SQLError::getSQLState(int) const
connectivity::file::OStatement_Base::reset()
connectivity::mozab::MQueryHelper::next()
@@ -611,7 +609,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::SQLExceptionInfo::SQLExceptionInfo(com::sun::star::sdb::SQLErrorEvent 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&)