To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=53213
User od changed the following: What |Old value |New value ================================================================================ Status|NEW |RESOLVED -------------------------------------------------------------------------------- Resolution| |FIXED -------------------------------------------------------------------------------- ------- Additional comments from [EMAIL PROTECTED] Tue Oct 18 07:28:27 -0700 2005 ------- fixed in cws swnumtree - changed file: /sw/source/filter/ww8/ww8par.cxx, 1.153.96.4 defect cause: In method <SwWW8ImplReader::SetOutlineStyles()> member variable <mpChosenOutlineRule> is used to check, if the local copy <aOutlineRule> of <rDoc.GetOutlineNumRule()> is the chosen outline rule. Thus, it points to this local variable and is compared to <&aOutlineRule>. This is dangerous, because local variable <aOutlineRule> is destroyed after completion of this method. In cws swnum03 this defect has been detected and is fixed by letting <mpChosenOutlineRule> to point initially to <rDoc.GetOutlineNumRule()>. But then the comparison to <&aOutlineRule> can't be used anymore to check the above described condition. solution: Let <mpChosenOutlineRule> initially point to local variable <aOutlineRule>, but assure at the end of the method, that it points to <rDoc.GetOutlineNumRule()>, if it still points to local variable <aOutlineRule> --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]