[Libreoffice-commits] .: cui/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Jan 31 13:27:19 PST 2011


 cui/source/options/webconninfo.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c5deec186acf8de760f11f9bfe1fa383bd06b31f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Jan 31 11:14:43 2011 +0000

    WaE: various new gcc 4.6.0 warnings

diff --git a/cui/source/options/webconninfo.cxx b/cui/source/options/webconninfo.cxx
index 1bf8496..91090d1 100644
--- a/cui/source/options/webconninfo.cxx
+++ b/cui/source/options/webconninfo.cxx
@@ -209,7 +209,7 @@ void WebConnectionInfoDialog::FillPasswordList()
                     aUIEntry += ::rtl::OUString::valueOf( (sal_Unicode)'\t' );
                     aUIEntry += aURLEntries[nURLInd].UserList[nUserInd].UserName;
                     SvLBoxEntry* pEntry = m_aPasswordsLB.InsertEntry( aUIEntry );
-                    pEntry->SetUserData( (void*)(nCount++) );
+                    pEntry->SetUserData( (void*)(sal_IntPtr)(nCount++) );
                 }
             }
 
@@ -228,7 +228,7 @@ void WebConnectionInfoDialog::FillPasswordList()
                 aUIEntry += ::rtl::OUString::valueOf( (sal_Unicode)'\t' );
                 aUIEntry += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "*" ) );
                 SvLBoxEntry* pEntry = m_aPasswordsLB.InsertEntry( aUIEntry );
-                pEntry->SetUserData( (void*)(nCount++) );
+                pEntry->SetUserData( (void*)(sal_IntPtr)(nCount++) );
             }
         }
     }


More information about the Libreoffice-commits mailing list