From 5ba602cbf06a51c8889a3e6357442d32ffb792ab Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 31 Aug 2011 21:37:11 +0100 Subject: callcatcher: another layer of unused --- slideshow/source/engine/tools.cxx | 22 ---------------------- slideshow/source/inc/tools.hxx | 14 -------------- 2 files changed, 36 deletions(-) (limited to 'slideshow') diff --git a/slideshow/source/engine/tools.cxx b/slideshow/source/engine/tools.cxx index f7417e19db29..9d66391309f1 100644 --- a/slideshow/source/engine/tools.cxx +++ b/slideshow/source/engine/tools.cxx @@ -480,28 +480,6 @@ namespace slideshow return true; } - bool findNamedValue( beans::NamedValue* o_pRet, - const uno::Sequence< beans::NamedValue >& rSequence, - const ::rtl::OUString& rSearchString ) - { - const beans::NamedValue* pArray = rSequence.getConstArray(); - const size_t nLen( rSequence.getLength() ); - - if( nLen == 0 ) - return false; - - const beans::NamedValue* pFound = ::std::find_if( pArray, - pArray + nLen, - NamedValueStringComparator( rSearchString ) ); - if( pFound == pArray + nLen ) - return false; - - if( o_pRet ) - *o_pRet = *pFound; - - return true; - } - basegfx::B2DRange calcRelativeShapeBounds( const basegfx::B2DVector& rPageSize, const basegfx::B2DRange& rShapeBounds ) { diff --git a/slideshow/source/inc/tools.hxx b/slideshow/source/inc/tools.hxx index cbe612b3ab0b..0293fb8a9abe 100644 --- a/slideshow/source/inc/tools.hxx +++ b/slideshow/source/inc/tools.hxx @@ -177,20 +177,6 @@ namespace slideshow ::com::sun::star::beans::NamedValue > const& rSequence, const ::com::sun::star::beans::NamedValue& rSearchKey ); - /** Search a sequence of NamedValues for an element with a given name. - - @param o_pRet - If non-NULL, receives the full NamedValue found (if it was - found, that is). - - @return true, if the sequence contains the specified - element. - */ - bool findNamedValue( ::com::sun::star::beans::NamedValue* o_pRet, - const ::com::sun::star::uno::Sequence< - ::com::sun::star::beans::NamedValue >& rSequence, - const ::rtl::OUString& rSearchString ); - basegfx::B2DRange calcRelativeShapeBounds( const basegfx::B2DVector& rPageSize, const basegfx::B2DRange& rShapeBounds ); -- cgit v1.2.3