diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-02-15 23:55:18 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-02-15 23:01:23 +0000 |
commit | 6de3688cc6bd52ce08ff8a4327e59dbbc8a5c7d4 (patch) | |
tree | 3f669db44367a2a072b899a1a1b87eb25ee607af /chart2/source/inc/CloneHelper.hxx | |
parent | 3e1e49561bb734475d2b7d1db1beef0d3e9b53cd (diff) |
Drop :: prefix from std in c*/
Change-Id: If078cda95fa6ccd37270a5e9d81cfa0b84e71155
Reviewed-on: https://gerrit.libreoffice.org/34324
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'chart2/source/inc/CloneHelper.hxx')
-rw-r--r-- | chart2/source/inc/CloneHelper.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/inc/CloneHelper.hxx b/chart2/source/inc/CloneHelper.hxx index dfe58235191f..ee625666ab9d 100644 --- a/chart2/source/inc/CloneHelper.hxx +++ b/chart2/source/inc/CloneHelper.hxx @@ -33,7 +33,7 @@ namespace CloneHelper /// functor that clones a UNO-Reference template< class Interface > - struct CreateRefClone : public ::std::unary_function< Interface, Interface > + struct CreateRefClone : public std::unary_function< Interface, Interface > { css::uno::Reference<Interface> operator() ( const css::uno::Reference<Interface> & xOther ) { @@ -50,11 +50,11 @@ template< class Interface > /// clones a vector of UNO-References template< class Interface > void CloneRefVector( - const ::std::vector< css::uno::Reference< Interface > > & rSource, - ::std::vector< css::uno::Reference< Interface > > & rDestination ) + const std::vector< css::uno::Reference< Interface > > & rSource, + std::vector< css::uno::Reference< Interface > > & rDestination ) { - ::std::transform( rSource.begin(), rSource.end(), - ::std::back_inserter( rDestination ), + std::transform( rSource.begin(), rSource.end(), + std::back_inserter( rDestination ), CreateRefClone< Interface >()); } @@ -65,7 +65,7 @@ template< class Interface > css::uno::Sequence< css::uno::Reference<Interface> > & rDestination ) { rDestination.realloc( rSource.getLength()); - ::std::transform( rSource.getConstArray(), rSource.getConstArray() + rSource.getLength(), + std::transform( rSource.getConstArray(), rSource.getConstArray() + rSource.getLength(), rDestination.getArray(), CreateRefClone< Interface >()); } |