To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108246


User dtardon changed the following:

                What    |Old value                 |New value
================================================================================
                Priority|P4                        |P3
--------------------------------------------------------------------------------
                 Summary|svx: possible use of out-o|svx: crash in Appearance c
                        |f-bounds array index      |onfig. dialog
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Sat Jan 16 08:52:19 
+0000 2010 -------
Steps to reproduce:
1. install Sun Report Builder extension
2. deactivate Base (for example by removing
$INSTALLDIR/openoffice.org3/basis-link/share/registry/modules/org/openoffice/Setup/Setup-base.xcu)
3. go to Tools->Options->OpenOffice.org->Appearance
4. scroll to the top of the settings window
5. scroll down
6. crash

The problem is that SQL group is not allowed to be shrunk, thus, when there is
an extension that adds its own color config installed, there is a hole, covering
nearly full height of the visible space, between the last 'regular' group and
the first extension group in the Appearance window. When one scrolls down to
that hole, the range of settings to show that is searched for in
ColorConfigCtrl_Impl::ScrollHdl is empty--the last line of the last 'regular'
group is above the visible area and the first line of the first extension group
(not counting it's title) is still below it--causing the situation described in
comment 0, i.e. nFirstVisible == -1 and nLastVisible == -1.

The following patch removes the 'hole'. The second part of it, modifying
ColorConfigCtrl_Impl::ScrollHdl, is there just to make the code safer.

---------------------------------------------------------------------
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]

Reply via email to