diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-01-29 12:59:35 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-01-29 13:47:08 +0100 |
commit | 0e57d54e1f8fe81d870ae18d6401f5ce104deb17 (patch) | |
tree | 88fbddfb4160e18290b32ed859e8de637bd898fb /oox/source/ole/vbaproject.cxx | |
parent | 12ebf6f72b2b3c9f66be767933835cde848d8e48 (diff) |
oox: replace boost::bind with std::bind
Change-Id: Ic402cfd6900cdf1741264b409f6fbe8f2db7e17a
Diffstat (limited to 'oox/source/ole/vbaproject.cxx')
-rw-r--r-- | oox/source/ole/vbaproject.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/oox/source/ole/vbaproject.cxx b/oox/source/ole/vbaproject.cxx index 77c6764b9d71..7cab269f4929 100644 --- a/oox/source/ole/vbaproject.cxx +++ b/oox/source/ole/vbaproject.cxx @@ -455,14 +455,14 @@ void VbaProject::importModulesAndForms( StorageBase& rVbaPrjStrg, const GraphicH if( xBasicLib.is() ) { // #TODO cater for mxOleOverridesSink, like I used to before - // call Basic source code import for each module, boost::[c]ref enforces pass-by-ref + // call Basic source code import for each module, std::[c]ref enforces pass-by-ref maModules.forEachMem( &VbaModule::createAndImportModule, - ::boost::ref( *xVbaStrg ), ::boost::cref( xBasicLib ), - ::boost::cref( xDocObjectNA ) ); + ::std::ref( *xVbaStrg ), ::std::cref( xBasicLib ), + ::std::cref( xDocObjectNA ) ); // create empty dummy modules aDummyModules.forEachMem( &VbaModule::createEmptyModule, - ::boost::cref( xBasicLib ), ::boost::cref( xDocObjectNA ) ); + ::std::cref( xBasicLib ), ::std::cref( xDocObjectNA ) ); } } catch(const Exception& ) @@ -516,7 +516,7 @@ void VbaProject::attachMacros() aArgs[ 1 ] <<= maPrjName; Reference< XVBAMacroResolver > xResolver( xFactory->createInstanceWithArgumentsAndContext( "com.sun.star.script.vba.VBAMacroResolver", aArgs, mxContext ), UNO_QUERY_THROW ); - maMacroAttachers.forEachMem( &VbaMacroAttacherBase::resolveAndAttachMacro, ::boost::cref( xResolver ) ); + maMacroAttachers.forEachMem( &VbaMacroAttacherBase::resolveAndAttachMacro, ::std::cref( xResolver ) ); } catch(const Exception& ) { |