summaryrefslogtreecommitdiff
path: root/connectivity
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 /connectivity
parent85524805bd730e31c1bfc2fd9e449e10e4e6bae1 (diff)
callcatcher: remove some unused code
Change-Id: I6b512dd2b33e2c09fad2369bb299120fc35345b0
Diffstat (limited to 'connectivity')
-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
4 files changed, 0 insertions, 21 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)