[Libreoffice-commits] .: sd/inc sd/source

Joseph Powers jpowers at kemper.freedesktop.org
Mon Nov 22 17:45:48 PST 2010


 sd/inc/app.hrc                           |    2 +-
 sd/source/filter/eppt/pptx-epptooxml.cxx |    2 +-
 sd/source/filter/eppt/pptx-text.cxx      |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit c12e311ab7ed3a87647d8626b8f1a5ce25d14faa
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Mon Nov 22 17:45:41 2010 -0800

    Removing warnings from Impress

diff --git a/sd/inc/app.hrc b/sd/inc/app.hrc
old mode 100755
new mode 100644
index 7609c06..b80afb6
--- a/sd/inc/app.hrc
+++ b/sd/inc/app.hrc
@@ -1,7 +1,7 @@
 /*************************************************************************
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- * 
+ *
  * Copyright 2000, 2010 Oracle and/or its affiliates.
  *
  * OpenOffice.org - a multi-platform office productivity suite
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index b12de8f..2170ba3 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -1188,7 +1188,7 @@ void PowerPointExport::ImplWriteSlide( sal_uInt32 nPageNum, sal_uInt32 nMasterNu
     const char* pShow = NULL;
 
     if( GETA( Visible ) ) {
-    sal_Bool bShow;
+    sal_Bool bShow(sal_False);
     if( ( mAny >>= bShow ) && !bShow )
         pShow = "0";
     }
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx
index 4825536..77ac249 100644
--- a/sd/source/filter/eppt/pptx-text.cxx
+++ b/sd/source/filter/eppt/pptx-text.cxx
@@ -789,7 +789,7 @@ void ParagraphObj::ImplGetNumberingLevel( PPTExBulletProvider& rBuProv, sal_Int1
     ::com::sun::star::uno::Any aAny;
     if ( GetPropertyValue( aAny, mXPropSet, String( RTL_CONSTASCII_USTRINGPARAM( "ParaLeftMargin" ) ) ) )
     {
-        sal_Int32 nVal;
+        sal_Int32 nVal(0);
         if ( aAny >>= nVal )
             nTextOfs = static_cast< sal_Int16 >( nVal / ( 2540.0 / 576 ) + 0.5 ) ;
     }


More information about the Libreoffice-commits mailing list