callcatcher: another layer of unused

This commit is contained in:
Caolán McNamara
2011-08-31 21:37:11 +01:00
parent 8c221c8cad
commit 5ba602cbf0
2 changed files with 0 additions and 36 deletions

View File

@@ -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 )
{

View File

@@ -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 );