[Libreoffice-commits] .: unotools/source

Jesús Corrius jcorrius at kemper.freedesktop.org
Sat Oct 23 04:04:22 PDT 2010


 unotools/source/config/configvaluecontainer.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c27524ebccff93dc8504c744c064ecf47208820e
Author: Jesús Corrius <jesus at softcatala.org>
Date:   Sat Oct 23 12:55:14 2010 +0200

    Make for_each less ambiguous for VC++ 10

diff --git a/unotools/source/config/configvaluecontainer.cxx b/unotools/source/config/configvaluecontainer.cxx
index 0fca1eb..2fb791d 100644
--- a/unotools/source/config/configvaluecontainer.cxx
+++ b/unotools/source/config/configvaluecontainer.cxx
@@ -388,7 +388,7 @@ namespace utl
 
     void OConfigurationValueContainer::read( )
     {
-        for_each(
+        std::for_each(
             m_pImpl->aAccessors.begin(),
             m_pImpl->aAccessors.end(),
             UpdateFromConfig( m_pImpl->aConfigRoot, m_pImpl->rMutex )
@@ -401,7 +401,7 @@ namespace utl
     void OConfigurationValueContainer::write( sal_Bool _bCommit )
     {
         // collect the current values in the exchange locations
-        for_each(
+        std::for_each(
             m_pImpl->aAccessors.begin(),
             m_pImpl->aAccessors.end(),
             UpdateToConfig( m_pImpl->aConfigRoot, m_pImpl->rMutex )


More information about the Libreoffice-commits mailing list