diff options
Diffstat (limited to 'chart2/source/controller/main/ObjectHierarchy.cxx')
-rw-r--r-- | chart2/source/controller/main/ObjectHierarchy.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chart2/source/controller/main/ObjectHierarchy.cxx b/chart2/source/controller/main/ObjectHierarchy.cxx index a8a29ceca11b..23db1d2d403e 100644 --- a/chart2/source/controller/main/ObjectHierarchy.cxx +++ b/chart2/source/controller/main/ObjectHierarchy.cxx @@ -54,7 +54,7 @@ using ::com::sun::star::uno::Sequence; namespace { -struct lcl_ObjectToOID : public ::std::unary_function< Reference< uno::XInterface >, ::chart::ObjectIdentifier > +struct lcl_ObjectToOID : public std::unary_function< Reference< uno::XInterface >, ::chart::ObjectIdentifier > { explicit lcl_ObjectToOID( const Reference< chart2::XChartDocument > & xChartDoc ) : m_xModel( xChartDoc, uno::UNO_QUERY ) @@ -159,7 +159,7 @@ private: const ObjectIdentifier& rParentOID, const ObjectIdentifier& rOID ); - typedef ::std::map< ObjectIdentifier, ObjectHierarchy::tChildContainer > + typedef std::map< ObjectIdentifier, ObjectHierarchy::tChildContainer > tChildMap; tChildMap m_aChildMap; ExplicitValueProvider* m_pExplicitValueProvider; @@ -308,8 +308,8 @@ void ImplObjectHierarchy::createAxesTree( { Sequence< Reference< XAxis > > aAxes( AxisHelper::getAllAxesOfDiagram( xDiagram, /* bOnlyVisible = */ true ) ); if( !m_bOrderingForElementSelector ) - ::std::transform( aAxes.getConstArray(), aAxes.getConstArray() + aAxes.getLength(), - ::std::back_inserter( rContainer ), + std::transform( aAxes.getConstArray(), aAxes.getConstArray() + aAxes.getLength(), + std::back_inserter( rContainer ), lcl_ObjectToOID( xChartDoc )); // get all axes, also invisible ones @@ -578,7 +578,7 @@ ObjectHierarchy::tChildContainer ImplObjectHierarchy::getSiblings( const ObjectI aIt != m_aChildMap.end(); ++aIt ) { ObjectHierarchy::tChildContainer::const_iterator aElemIt( - ::std::find( aIt->second.begin(), aIt->second.end(), rNode )); + std::find( aIt->second.begin(), aIt->second.end(), rNode )); if( aElemIt != aIt->second.end()) return aIt->second; } @@ -593,7 +593,7 @@ ObjectIdentifier ImplObjectHierarchy::getParentImpl( // search children ObjectHierarchy::tChildContainer aChildren( getChildren( rParentOID )); ObjectHierarchy::tChildContainer::const_iterator aIt( - ::std::find( aChildren.begin(), aChildren.end(), rOID )); + std::find( aChildren.begin(), aChildren.end(), rOID )); // recursion end if( aIt != aChildren.end()) return rParentOID; @@ -777,7 +777,7 @@ bool ObjectKeyNavigation::next() if( bResult ) { ObjectHierarchy::tChildContainer::const_iterator aIt( - ::std::find( aSiblings.begin(), aSiblings.end(), getCurrentSelection())); + std::find( aSiblings.begin(), aSiblings.end(), getCurrentSelection())); OSL_ASSERT( aIt != aSiblings.end()); if( ++aIt == aSiblings.end()) aIt = aSiblings.begin(); @@ -797,7 +797,7 @@ bool ObjectKeyNavigation::previous() if( bResult ) { ObjectHierarchy::tChildContainer::const_iterator aIt( - ::std::find( aSiblings.begin(), aSiblings.end(), getCurrentSelection())); + std::find( aSiblings.begin(), aSiblings.end(), getCurrentSelection())); OSL_ASSERT( aIt != aSiblings.end()); if( aIt == aSiblings.begin()) aIt = aSiblings.end(); |