Author: truckman
Date: Fri Sep 2 02:16:21 2016
New Revision: 1758872
URL: http://svn.apache.org/viewvc?rev=1758872&view=rev
Log:
Fix typos in forEachMem() template functions.
Modified:
openoffice/trunk/main/filter/source/xsltfilter/containerhelper.hxx
Modified: openoffice/trunk/main/filter/source/xsltfilter/containerhelper.hxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/filter/source/xsltfilter/containerhelper.hxx?rev=1758872&r1=1758871&r2=1758872&view=diff
==============================================================================
--- openoffice/trunk/main/filter/source/xsltfilter/containerhelper.hxx
(original)
+++ openoffice/trunk/main/filter/source/xsltfilter/containerhelper.hxx Fri Sep
2 02:16:21 2016
@@ -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>