summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-07-16 00:20:25 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-07-16 07:28:31 +0200
commit31b05fe9ffdc043211a6bd7216a809ab500b9691 (patch)
treee137942e810e1fb2f34ab86b14b2dc6c1e072c11 /comphelper
parenta5ae5d95f4e2ca1591126937cb650c871894dc64 (diff)
unusedcode: drop CellBlock and one small method
Change-Id: I7cad80ea59b4527193a35ea1b7cfdd56e07a0efe
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/inc/comphelper/SelectionMultiplex.hxx5
-rw-r--r--comphelper/source/misc/SelectionMultiplex.cxx10
2 files changed, 0 insertions, 15 deletions
diff --git a/comphelper/inc/comphelper/SelectionMultiplex.hxx b/comphelper/inc/comphelper/SelectionMultiplex.hxx
index 390b3ff47970..56e8375fd215 100644
--- a/comphelper/inc/comphelper/SelectionMultiplex.hxx
+++ b/comphelper/inc/comphelper/SelectionMultiplex.hxx
@@ -56,11 +56,6 @@ namespace comphelper
virtual void _disposing(const ::com::sun::star::lang::EventObject& _rSource) throw( ::com::sun::star::uno::RuntimeException);
protected:
- /** If the derivee also owns the mutex which we know as reference, then call this within your
- derivee's dtor.
- */
- void disposeAdapter();
-
// pseudo-private. Making it private now could break compatibility
void setAdapter( OSelectionChangeMultiplexer* _pAdapter );
};
diff --git a/comphelper/source/misc/SelectionMultiplex.cxx b/comphelper/source/misc/SelectionMultiplex.cxx
index ca267e7f3ca7..aa3092d1886d 100644
--- a/comphelper/source/misc/SelectionMultiplex.cxx
+++ b/comphelper/source/misc/SelectionMultiplex.cxx
@@ -47,16 +47,6 @@ void OSelectionChangeListener::_disposing(const EventObject&) throw( RuntimeExce
}
//------------------------------------------------------------------
-void OSelectionChangeListener::disposeAdapter()
-{
- if ( m_pAdapter )
- m_pAdapter->dispose();
-
- // will automatically set a new adapter
- OSL_ENSURE( !m_pAdapter, "OSelectionChangeListener::disposeAdapter: what did dispose do?" );
-}
-
-//------------------------------------------------------------------
void OSelectionChangeListener::setAdapter(OSelectionChangeMultiplexer* pAdapter)
{
if (m_pAdapter)