[Libreoffice-commits] core.git: Branch 'aoo/trunk' - filter/source
Don Lewis
truckman at apache.org
Fri Sep 2 04:08:17 UTC 2016
filter/source/xsltfilter/containerhelper.hxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 9c219419475f35bc4535ad82b67121dd90a38883
Author: Don Lewis <truckman at apache.org>
Date: Fri Sep 2 02:16:21 2016 +0000
Fix typos in forEachMem() template functions.
diff --git a/filter/source/xsltfilter/containerhelper.hxx b/filter/source/xsltfilter/containerhelper.hxx
index 4c7fba0..8b52c4b 100644
--- a/filter/source/xsltfilter/containerhelper.hxx
+++ b/filter/source/xsltfilter/containerhelper.hxx
@@ -73,13 +73,13 @@ public:
template<typename FuncType, typename ParamType1, typename ParamType2>
inline void forEachMem(FuncType pFunc, ParamType1 aParam1, ParamType2 aParam2) const
{
- forEach( ::boost::bind(pFunc, -1, aParam1, aParam2 ));
+ forEach( ::boost::bind(pFunc, _1, aParam1, aParam2 ));
}
template<typename FuncType, typename ParamType1, typename ParamType2, typename ParamType3>
- inline void forEachMem( FuncType pFunc, ParamType1 aParam1, ParamType2 aParam2, ParamType3 aParam3 ) const
+ inline void forEachMem(FuncType pFunc, ParamType1 aParam1, ParamType2 aParam2, ParamType3 aParam3 ) const
{
- forEach( ::boost::bind(pFunc, _1, aParam2, aParam2, aParam3 ));
+ forEach( ::boost::bind(pFunc, _1, aParam1, aParam2, aParam3 ));
}
template<typename FuncType>
More information about the Libreoffice-commits
mailing list