summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-03 09:53:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-03 14:48:49 +0000
commit79fcf0b4a86e22e541eecd6e39726fac2016750b (patch)
treed79567ef320d67e3d115b5cbdaa9bda70a186974 /sc/source
parentbbdd3da43d37ea4fdbcc2dc3ad8b4800020e71e8 (diff)
callcatcher: update unused code
Change-Id: Ida4221bfbfe30f7e1abd5c367d8cb8b9edd310bb
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/unoobj/celllistsource.cxx16
-rw-r--r--sc/source/ui/unoobj/celllistsource.hxx6
-rw-r--r--sc/source/ui/unoobj/cellvaluebinding.cxx19
-rw-r--r--sc/source/ui/unoobj/cellvaluebinding.hxx6
4 files changed, 0 insertions, 47 deletions
diff --git a/sc/source/ui/unoobj/celllistsource.cxx b/sc/source/ui/unoobj/celllistsource.cxx
index 574cfdaa6ad3..919159720653 100644
--- a/sc/source/ui/unoobj/celllistsource.cxx
+++ b/sc/source/ui/unoobj/celllistsource.cxx
@@ -42,22 +42,6 @@ namespace calc
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::form::binding;
-#ifdef DBG_UTIL
- const char* OCellListSource::checkConsistency_static( const void* _pThis )
- {
- return static_cast< const OCellListSource* >( _pThis )->checkConsistency( );
- }
-
- const char* OCellListSource::checkConsistency( ) const
- {
- const char* pAssertion = NULL;
-
- // TODO: place any checks here to ensure consistency of this instance
-
- return pAssertion;
- }
-#endif
-
OCellListSource::OCellListSource( const Reference< XSpreadsheetDocument >& _rxDocument )
:OCellListSource_Base( m_aMutex )
,OCellListSource_PBase( OCellListSource_Base::rBHelper )
diff --git a/sc/source/ui/unoobj/celllistsource.hxx b/sc/source/ui/unoobj/celllistsource.hxx
index fc8a1a90a34f..03b1e670fd8d 100644
--- a/sc/source/ui/unoobj/celllistsource.hxx
+++ b/sc/source/ui/unoobj/celllistsource.hxx
@@ -146,12 +146,6 @@ namespace calc
OCellListSource(); // never implemented
OCellListSource( const OCellListSource& ); // never implemented
OCellListSource& operator=( const OCellListSource& ); // never implemented
-
-#ifdef DBG_UTIL
- private:
- static const char* checkConsistency_static( const void* _pThis );
- const char* checkConsistency( ) const;
-#endif
};
} // namespace calc
diff --git a/sc/source/ui/unoobj/cellvaluebinding.cxx b/sc/source/ui/unoobj/cellvaluebinding.cxx
index 6a3433997d3b..1bce4afcfb8b 100644
--- a/sc/source/ui/unoobj/cellvaluebinding.cxx
+++ b/sc/source/ui/unoobj/cellvaluebinding.cxx
@@ -47,25 +47,6 @@ namespace calc
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::form::binding;
-#ifdef DBG_UTIL
- const char* OCellValueBinding::checkConsistency_static( const void* _pThis )
- {
- return static_cast< const OCellValueBinding* >( _pThis )->checkConsistency( );
- }
-
- const char* OCellValueBinding::checkConsistency( ) const
- {
- const char* pAssertion = NULL;
- if ( m_xCellText.is() && !m_xCell.is() )
- // there are places (e.g. getSupportedTypes) which rely on the fact
- // that m_xCellText.is() implies m_xCell.is()
- pAssertion = "cell references inconsistent!";
-
- // TODO: place any additional checks here to ensure consistency of this instance
- return pAssertion;
- }
-#endif
-
OCellValueBinding::OCellValueBinding( const Reference< XSpreadsheetDocument >& _rxDocument, bool _bListPos )
:OCellValueBinding_Base( m_aMutex )
,OCellValueBinding_PBase( OCellValueBinding_Base::rBHelper )
diff --git a/sc/source/ui/unoobj/cellvaluebinding.hxx b/sc/source/ui/unoobj/cellvaluebinding.hxx
index 2e19ac9e2f69..4b1ff8067615 100644
--- a/sc/source/ui/unoobj/cellvaluebinding.hxx
+++ b/sc/source/ui/unoobj/cellvaluebinding.hxx
@@ -141,12 +141,6 @@ namespace calc
OCellValueBinding(); // never implemented
OCellValueBinding( const OCellValueBinding& ); // never implemented
OCellValueBinding& operator=( const OCellValueBinding& ); // never implemented
-
-#ifdef DBG_UTIL
- private:
- static const char* checkConsistency_static( const void* _pThis );
- const char* checkConsistency( ) const;
-#endif
};
} // namespace calc