summaryrefslogtreecommitdiff
path: root/animations
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-02-15 22:31:33 +0200
committerTor Lillqvist <tml@collabora.com>2017-02-15 21:50:23 +0000
commit013d9789c753d46f0a038e54db6e21f4d4922891 (patch)
tree52480d6515d2def1f568a2f6023ee0799cd9b2af /animations
parentd007cef2dfd0c4d7b009b4f943464c6c4854d88d (diff)
Drop :: prefix from std in [a-b]*/
Change-Id: I0422aaf39bbce889c95ed9a81a0784cb03a1badd Reviewed-on: https://gerrit.libreoffice.org/34320 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'animations')
-rw-r--r--animations/source/animcore/animcore.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx
index cf043af7f105..b45e48fa1564 100644
--- a/animations/source/animcore/animcore.cxx
+++ b/animations/source/animcore/animcore.cxx
@@ -101,7 +101,7 @@ namespace animcore
{
-typedef ::std::list< Reference< XAnimationNode > > ChildList_t;
+typedef std::list< Reference< XAnimationNode > > ChildList_t;
class AnimationNodeBase : public XAnimateMotion,
@@ -1768,11 +1768,11 @@ Reference< XAnimationNode > SAL_CALL AnimationNode::insertBefore( const Referenc
if( !newChild.is() || !refChild.is() )
throw IllegalArgumentException();
- ChildList_t::iterator before = ::std::find(maChildren.begin(), maChildren.end(), refChild);
+ ChildList_t::iterator before = std::find(maChildren.begin(), maChildren.end(), refChild);
if( before == maChildren.end() )
throw NoSuchElementException();
- if( ::std::find(maChildren.begin(), maChildren.end(), newChild) != maChildren.end() )
+ if( std::find(maChildren.begin(), maChildren.end(), newChild) != maChildren.end() )
throw ElementExistException();
maChildren.insert( before, newChild );
@@ -1792,11 +1792,11 @@ Reference< XAnimationNode > SAL_CALL AnimationNode::insertAfter( const Reference
if( !newChild.is() || !refChild.is() )
throw IllegalArgumentException();
- ChildList_t::iterator before = ::std::find(maChildren.begin(), maChildren.end(), refChild);
+ ChildList_t::iterator before = std::find(maChildren.begin(), maChildren.end(), refChild);
if( before == maChildren.end() )
throw NoSuchElementException();
- if( ::std::find(maChildren.begin(), maChildren.end(), newChild) != maChildren.end() )
+ if( std::find(maChildren.begin(), maChildren.end(), newChild) != maChildren.end() )
throw ElementExistException();
++before;
@@ -1820,11 +1820,11 @@ Reference< XAnimationNode > SAL_CALL AnimationNode::replaceChild( const Referenc
if( !newChild.is() || !oldChild.is() )
throw IllegalArgumentException();
- ChildList_t::iterator replace = ::std::find(maChildren.begin(), maChildren.end(), oldChild);
+ ChildList_t::iterator replace = std::find(maChildren.begin(), maChildren.end(), oldChild);
if( replace == maChildren.end() )
throw NoSuchElementException();
- if( ::std::find(maChildren.begin(), maChildren.end(), newChild) != maChildren.end() )
+ if( std::find(maChildren.begin(), maChildren.end(), newChild) != maChildren.end() )
throw ElementExistException();
Reference< XInterface > xNull( nullptr );
@@ -1847,7 +1847,7 @@ Reference< XAnimationNode > SAL_CALL AnimationNode::removeChild( const Reference
if( !oldChild.is() )
throw IllegalArgumentException();
- ChildList_t::iterator old = ::std::find(maChildren.begin(), maChildren.end(), oldChild);
+ ChildList_t::iterator old = std::find(maChildren.begin(), maChildren.end(), oldChild);
if( old == maChildren.end() )
throw NoSuchElementException();
@@ -1868,7 +1868,7 @@ Reference< XAnimationNode > SAL_CALL AnimationNode::appendChild( const Reference
if( !newChild.is() )
throw IllegalArgumentException();
- if( ::std::find(maChildren.begin(), maChildren.end(), newChild) != maChildren.end() )
+ if( std::find(maChildren.begin(), maChildren.end(), newChild) != maChildren.end() )
throw ElementExistException();
Reference< XInterface > xThis( static_cast< OWeakObject * >(this) );