[Libreoffice-commits] .: connectivity/source

Michael Meeks michael at kemper.freedesktop.org
Mon Feb 20 08:47:12 PST 2012


 connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 38298d3d549c97954a7dba43091c6866543263fe
Author: Wei Ming Khoo <wmk26 at cam.ac.uk>
Date:   Fri Feb 17 15:25:25 2012 +0000

    Clang-flagged error for typedef of CardPropertyGetter/Setter

diff --git a/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx b/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx
index e15da07..4fbb10b 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx
@@ -48,8 +48,8 @@ namespace connectivity { namespace mozab {
     //====================================================================
     namespace
     {
-        typedef nsresult (NS_STDCALL nsIAbCard::*CardPropertyGetter)( PRUnichar** aFirstName );
-        typedef nsresult (NS_STDCALL nsIAbCard::*CardPropertySetter)( const PRUnichar* aFirstName );
+        typedef NS_STDCALL_FUNCPROTO(nsResult, CardPropertyGetter, nsIAbCard, GetFirstName, (PRUnichar**));
+        typedef NS_STDCALL_FUNCPROTO(nsResult, CardPropertySetter, nsIAbCard, SetFirstName, (const PRUnichar*));
         struct CardPropertyData
         {
             const sal_Char*     pLDAPAttributeList;


More information about the Libreoffice-commits mailing list