You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pa...@apache.org on 2013/03/18 22:00:34 UTC

svn commit: r1457992 - /openoffice/trunk/main/sd/source/ui/presenter/PresenterHelper.cxx

Author: paveljanik
Date: Mon Mar 18 21:00:34 2013
New Revision: 1457992

URL: http://svn.apache.org/r1457992
Log:
Initialize variable to prevent warning.

Modified:
    openoffice/trunk/main/sd/source/ui/presenter/PresenterHelper.cxx

Modified: openoffice/trunk/main/sd/source/ui/presenter/PresenterHelper.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sd/source/ui/presenter/PresenterHelper.cxx?rev=1457992&r1=1457991&r2=1457992&view=diff
==============================================================================
--- openoffice/trunk/main/sd/source/ui/presenter/PresenterHelper.cxx (original)
+++ openoffice/trunk/main/sd/source/ui/presenter/PresenterHelper.cxx Mon Mar 18 21:00:34 2013
@@ -264,7 +264,7 @@ Reference<rendering::XBitmap> SAL_CALL P
 
     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" ) ) )
         {