summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-31 21:37:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-01 09:53:36 +0100
commit5ba602cbf06a51c8889a3e6357442d32ffb792ab (patch)
tree5fde03b463815a3c0401174cfabf5113705f5237 /slideshow
parent8c221c8cadca43c3113f40c708e6afbafbc9d309 (diff)
callcatcher: another layer of unused
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/tools.cxx22
-rw-r--r--slideshow/source/inc/tools.hxx14
2 files changed, 0 insertions, 36 deletions
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 );