[Libreoffice-commits] .: sd/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Jan 25 06:48:41 PST 2011


 sd/source/ui/animations/CustomAnimationDialog.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ba0fa519f443ea2ee7910ddfef829af5a8ec5add
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jan 25 12:35:53 2011 +0000

    WaE: gcc 4.6.0 various warnings

diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx
index 2b41f1e..9844351 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.cxx
@@ -2044,7 +2044,7 @@ CustomAnimationDurationTabPage::CustomAnimationDurationTabPage(Window* pParent,
             String aDescription( getShapeDescription( xShape, true ) );
             USHORT nPos = mpLBTrigger->InsertEntry( aDescription );
 
-            mpLBTrigger->SetEntryData( nPos, (void*)nShape );
+            mpLBTrigger->SetEntryData( nPos, (void*)(sal_IntPtr)nShape );
             if( xShape == xTrigger )
                 mpLBTrigger->SelectEntryPos( nPos );
         }


More information about the Libreoffice-commits mailing list