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



Author: kyoshida
Date: Wed Sep 17 18:41:04 2008
New Revision: 13923
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13923&view=rev

Log:
2008-09-17  Kohei Yoshida  <kyoshida novell com>

	* patches/dev300/cws-scsheetprotection02-sfx2.diff: fixed a crash on 
	Vista's native file picker.


Modified:
   trunk/ChangeLog
   trunk/patches/dev300/cws-scsheetprotection02-sfx2.diff

Modified: trunk/patches/dev300/cws-scsheetprotection02-sfx2.diff
==============================================================================
--- trunk/patches/dev300/cws-scsheetprotection02-sfx2.diff	(original)
+++ trunk/patches/dev300/cws-scsheetprotection02-sfx2.diff	Wed Sep 17 18:41:04 2008
@@ -27,7 +27,7 @@
  {
  	sal_Bool operator() ( const SfxFilter* _pFilter )
  	{
-+        if (_pFilter->GetFilterName().EqualsAscii("MS Excel 97"))
++        if (_pFilter && _pFilter->GetFilterName().EqualsAscii("MS Excel 97"))
 +            // temporary hack to enable password protection for Excel 97.  Is
 +            // there a better way to enable password protection of a filter?
 +            return true;



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