ooo-build r13924 - in branches/ooo-build-3-0: . patches/dev300



Author: kyoshida
Date: Wed Sep 17 19:48:57 2008
New Revision: 13924
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13924&view=rev

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

	* patches/dev300/cws-scsheetprotection02-sfx2.diff: fixed a crash on 
	Vista.


Modified:
   branches/ooo-build-3-0/ChangeLog
   branches/ooo-build-3-0/patches/dev300/cws-scsheetprotection02-sfx2.diff

Modified: branches/ooo-build-3-0/patches/dev300/cws-scsheetprotection02-sfx2.diff
==============================================================================
--- branches/ooo-build-3-0/patches/dev300/cws-scsheetprotection02-sfx2.diff	(original)
+++ branches/ooo-build-3-0/patches/dev300/cws-scsheetprotection02-sfx2.diff	Wed Sep 17 19:48:57 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]