diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-30 10:29:19 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-01 10:43:24 +0000 |
commit | 58aea3f36c14414f95668e229a7350598f6c53a8 (patch) | |
tree | 70c115dffd44576313cefd49e4164d293895e4bd /chart2/source/inc/CloneHelper.hxx | |
parent | 3fcbfe10857631212d8b8db9a079bb9692ed78bc (diff) |
loplugin:unusedmethods
- improvements to the plugin to find more method calls
- improvements to python script to remove more false+
- fix the FORCE_COMPILE_ALL build flag to include code in
the $WORKDIR
Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836
Reviewed-on: https://gerrit.libreoffice.org/19064
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2/source/inc/CloneHelper.hxx')
-rw-r--r-- | chart2/source/inc/CloneHelper.hxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/chart2/source/inc/CloneHelper.hxx b/chart2/source/inc/CloneHelper.hxx index 2545f579c737..24e5f1c25611 100644 --- a/chart2/source/inc/CloneHelper.hxx +++ b/chart2/source/inc/CloneHelper.hxx @@ -77,27 +77,6 @@ template< class Interface > CreateRefClone< Interface >()); } -template< typename Key, class Interface > - void CloneRefPairVector( - const ::std::vector< ::std::pair< Key, Interface > > & rSource, - ::std::vector< ::std::pair< Key, Interface > > & rDestination ) -{ - ::std::transform( rSource.begin(), rSource.end(), - ::std::back_inserter( rDestination ), - CreateRefWithKeyClone< Key, Interface >()); -} - -/// clones a map of elements with a UNO-Reference as value -template< typename Key, class Interface > - void CloneRefMap( - const ::std::map< Key, Interface > & rSource, - ::std::map< Key, Interface > & rDestination ) -{ - ::std::transform( rSource.begin(), rSource.end(), - ::std::inserter( rDestination, rDestination.begin() ), - CreateRefWithKeyClone< const Key, Interface >()); -} - /// clones a UNO-sequence of UNO-References template< class Interface > void CloneRefSequence( |