diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-01 10:38:59 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-01 11:00:17 +0000 |
commit | 35f4c0d24208385a3fc26c63dd2202e1211844b4 (patch) | |
tree | 6a0bf0bac7f38967e7072240a67241c6f3089fcc /chart2/source/controller/main/DrawCommandDispatch.cxx | |
parent | fdfcb1c8de221476c1b855362af7c0236c393c0f (diff) |
boost::cref->std::cref
Change-Id: I2a4d2052c48f35d69cea2aed2e98079ad8d98a02
Reviewed-on: https://gerrit.libreoffice.org/21982
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2/source/controller/main/DrawCommandDispatch.cxx')
-rw-r--r-- | chart2/source/controller/main/DrawCommandDispatch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/main/DrawCommandDispatch.cxx b/chart2/source/controller/main/DrawCommandDispatch.cxx index 5c720970eb22..4ae7d1ba34be 100644 --- a/chart2/source/controller/main/DrawCommandDispatch.cxx +++ b/chart2/source/controller/main/DrawCommandDispatch.cxx @@ -43,7 +43,7 @@ #include <svx/xtable.hxx> #include <basegfx/polygon/b2dpolygon.hxx> -#include <boost/ref.hpp> +#include <functional> using namespace ::com::sun::star; using namespace ::com::sun::star::frame; @@ -379,7 +379,7 @@ void DrawCommandDispatch::execute( const OUString& rCommand, const Sequence< bea const beans::PropertyValue* pIter = rArgs.getConstArray(); const beans::PropertyValue* pEnd = pIter + rArgs.getLength(); const beans::PropertyValue* pKeyModifier = ::std::find_if( - pIter, pEnd, ::std::bind2nd( PropertyValueCompare(), boost::cref( sKeyModifier ) ) ); + pIter, pEnd, ::std::bind2nd( PropertyValueCompare(), std::cref( sKeyModifier ) ) ); sal_Int16 nKeyModifier = 0; if ( pKeyModifier != pEnd && pKeyModifier && ( pKeyModifier->Value >>= nKeyModifier ) && nKeyModifier == KEY_MOD1 ) { |