[Libreoffice-commits] .: sd/source

Caolán McNamara caolan at kemper.freedesktop.org
Sun Dec 12 13:22:23 PST 2010


 sd/source/filter/ppt/pptinanimations.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2821d12f009060f936a2f2e7d41167f09deba4ef
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Dec 11 15:41:05 2010 +0000

    cppcheck: silence warning

diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx
index cfb3264..552469b 100644
--- a/sd/source/filter/ppt/pptinanimations.cxx
+++ b/sd/source/filter/ppt/pptinanimations.cxx
@@ -3727,7 +3727,7 @@ void AnimationImporter::dump( const PropertySet& rSet )
 
         case DFF_ANIM_VOLUME:
         {
-            double fVolume;
+            double fVolume(0.0);
             if( aAny >>= fVolume )
             {
                 fprintf( mpFile, " volume=\"%g%%\"", (double)(fVolume * 100.0) );


More information about the Libreoffice-commits mailing list