Kaydet (Commit) 79fcf0b4 authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: update unused code

Change-Id: Ida4221bfbfe30f7e1abd5c367d8cb8b9edd310bb
üst bbdd3da4
......@@ -124,9 +124,4 @@ bool ORowSetCacheIterator::isNull() const
return bRet;
}
::osl::Mutex* ORowSetCacheIterator::getMutex() const
{
return m_pRowSet ? m_pRowSet->getMutex() : NULL;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -73,7 +73,6 @@ namespace dbaccess
void setBookmark(const ::com::sun::star::uno::Any& _rBookmark);
::com::sun::star::uno::Any getBookmark() const { return m_aIter->second.aBookmark; }
::osl::Mutex* getMutex() const;
ORowSetCacheMap::iterator getIter() const { return m_aIter; }
};
......
......@@ -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 )
......
......@@ -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
......
......@@ -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 )
......
......@@ -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
......
......@@ -169,14 +169,13 @@ apitest::XTextContent::testAttach()
apitest::XTextContent::testGetAnchor()
apitest::XTextField::testGetPresentation()
basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon const&)
calc::OCellListSource::checkConsistency_static(void const*)
calc::OCellValueBinding::checkConsistency_static(void const*)
canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&)
chart::BaseGFXHelper::B2IRectangleToAWTRectangle(basegfx::B2IRange const&)
chart::ChartTypeUnoDlg::Create(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
chart::InternalData::isDefaultData()
chart::ShapeToolbarController::create(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
comphelper::OAccessibleImplementationAccess::setStateBit(short, bool)
comphelper::ThreadPool::getSharedOptimalPool()
comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment