summaryrefslogtreecommitdiff
path: root/chart2/source/inc/CommonFunctors.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/inc/CommonFunctors.hxx')
-rw-r--r--chart2/source/inc/CommonFunctors.hxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/chart2/source/inc/CommonFunctors.hxx b/chart2/source/inc/CommonFunctors.hxx
index d998069b93ae..89041739a464 100644
--- a/chart2/source/inc/CommonFunctors.hxx
+++ b/chart2/source/inc/CommonFunctors.hxx
@@ -174,21 +174,6 @@ private:
Value m_aValueToCompareWith;
};
-/** Searches for data in a given map, i.e. not for the key but for the data
- pointed to by the keys.
-
- To find a key (value) you can use rMap.find( rValue )
- */
-template< class MapType >
- inline typename MapType::const_iterator
- findValueInMap( const MapType & rMap, const typename MapType::mapped_type & rData )
-{
- return ::std::find_if( rMap.begin(), rMap.end(),
- [&rData]
- ( const typename MapType::value_type& cp )
- { return rData == cp.second; } );
-}
-
} // namespace CommonFunctors
} // namespace chart