[Libreoffice-commits] .: cppu/source

Fridrich Strba fridrich at kemper.freedesktop.org
Sat Oct 16 13:56:44 PDT 2010


 cppu/source/uno/lbmap.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c493fe47cbca5dae0c3a85e0799b3e5094809cd4
Author: Jesús Corrius <jesus at softcatala.org>
Date:   Sat Oct 16 00:45:59 2010 +0200

    Make calls to unary_function and binary_function less ambiguous for VC10

diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx
index cf54493..12fbb25 100644
--- a/cppu/source/uno/lbmap.cxx
+++ b/cppu/source/uno/lbmap.cxx
@@ -130,13 +130,13 @@ struct MappingEntry
         {}
 };
 //--------------------------------------------------------------------------------------------------
-struct FctOUStringHash : public unary_function< const OUString &, size_t >
+struct FctOUStringHash : public std::unary_function< const OUString &, size_t >
 {
     size_t operator()( const OUString & rKey ) const SAL_THROW( () )
         { return (size_t)rKey.hashCode(); }
 };
 //--------------------------------------------------------------------------------------------------
-struct FctPtrHash : public unary_function< uno_Mapping *, size_t >
+struct FctPtrHash : public std::unary_function< uno_Mapping *, size_t >
 {
     size_t operator()( uno_Mapping * pKey ) const SAL_THROW( () )
         { return (size_t)pKey; }


More information about the Libreoffice-commits mailing list