ooo-build r13537 - in trunk: . patches/dev300



Author: kyoshida
Date: Wed Aug 13 02:48:33 2008
New Revision: 13537
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13537&view=rev

Log:
2008-08-12  Kohei Yoshida  <kyoshida novell com>

	* patches/dev300/sc-cellformat-icon-toggle.diff: fixed a crash bug 
	(n#416837, i#92703).


Modified:
   trunk/ChangeLog
   trunk/patches/dev300/sc-cellformat-icon-toggle.diff

Modified: trunk/patches/dev300/sc-cellformat-icon-toggle.diff
==============================================================================
--- trunk/patches/dev300/sc-cellformat-icon-toggle.diff	(original)
+++ trunk/patches/dev300/sc-cellformat-icon-toggle.diff	Wed Aug 13 02:48:33 2008
@@ -334,7 +334,7 @@
 +        pDoc->GetNumberFormat( pViewData->GetCurX(), pViewData->GetCurY(), 
 +                               pViewData->GetTabNo(), nNumFmt );
 +        const SvNumberformat* pEntry = pFormatter->GetEntry( nNumFmt );
-+        nType = pEntry->GetType();
++        nType = pEntry ? pEntry->GetType() : 0;
 +    }
 +    return nType;
 +}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]