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

New commits:
commit e8c4da9a7aacbf0d89b7c7b4d59375f936349ea0
Author: Pavel Janík <[email protected]>
Date:   Mon Mar 18 20:00:34 2013 +0000

    Initialize variable to prevent warning.

diff --git a/sd/source/ui/presenter/PresenterHelper.cxx 
b/sd/source/ui/presenter/PresenterHelper.cxx
index bdd1086..ca2baa7 100644
--- a/sd/source/ui/presenter/PresenterHelper.cxx
+++ b/sd/source/ui/presenter/PresenterHelper.cxx
@@ -264,7 +264,7 @@ Reference<rendering::XBitmap> SAL_CALL 
PresenterHelper::loadBitmap (
 
     if (pCanvas.get()!=NULL && rsURL.getLength()>0 && 
mpGraphicFilter.get()!=NULL)
     {
-        sal_Int32 nIndex;
+        sal_Int32 nIndex = 0;
         if( rsURL.getToken( 0, '/', nIndex ).equalsAsciiL(
             RTL_CONSTASCII_STRINGPARAM( "private:graphicrepository" ) ) )
         {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to