SOURCES: openoffice.org-sfx2.badscript.diff (NEW) - fix for a segf...

adamg adamg at pld-linux.org
Fri Mar 17 09:02:49 CET 2006


Author: adamg                        Date: Fri Mar 17 08:02:49 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix for a segfault on:
  format->character->hyperlink->events->oo.org macros->launcher

---- Files affected:
SOURCES:
   openoffice.org-sfx2.badscript.diff (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/openoffice.org-sfx2.badscript.diff
diff -u /dev/null SOURCES/openoffice.org-sfx2.badscript.diff:1.1
--- /dev/null	Fri Mar 17 09:02:49 2006
+++ SOURCES/openoffice.org-sfx2.badscript.diff	Fri Mar 17 09:02:44 2006
@@ -0,0 +1,19 @@
+fix for a segfault on:
+format->character->hyperlink->events->oo.org macros->launcher
+
+Index: source/dialog/cfg.cxx
+===================================================================
+RCS file: /cvs/framework/sfx2/source/dialog/cfg.cxx,v
+retrieving revision 1.53
+diff -u -p -u -r1.53 cfg.cxx
+--- sfx2/source/dialog/cfg.cxx	7 Sep 2005 18:12:28 -0000	1.53
++++ sfx2/source/dialog/cfg.cxx	14 Mar 2006 10:50:22 -0000
+@@ -1746,7 +1746,7 @@ void SfxConfigGroupListBox_Impl::Request
+ 									bDisplay=FALSE;
+ 								}
+ 							}
+-							if (children[n]->getType() != browse::BrowseNodeTypes::SCRIPT  && bDisplay )
++							if ( children[n].is() && children[n]->getType() != browse::BrowseNodeTypes::SCRIPT && bDisplay )
+ 							{
+ 
+ 								/*
================================================================


More information about the pld-cvs-commit mailing list