https://bugs.documentfoundation.org/show_bug.cgi?id=143940

--- Comment #15 from Julien Nabet <[email protected]> ---
I reverted the patch manually + removed an assert instruction, I don't
reproduce the crash indeed.
However, I noticed this log:
warn:legacy.osl:92035:92035:sc/source/filter/xml/XMLStylesExportHelper.cxx:976:
GetStyleNameByIndex: invalid index

OUString* ScColumnRowStylesBase::GetStyleNameByIndex(const sal_Int32 nIndex)
{
    if ( nIndex < 0 || nIndex >= sal::static_int_cast<sal_Int32>(
aStyleNames.size() ) )
    {
        // should no longer happen, use first style then
        OSL_FAIL("GetStyleNameByIndex: invalid index");
        return aStyleNames[0];
    }
    return aStyleNames[nIndex];
}

I may be wrong but IMHO the Noel's patch uncovered an already existing bug
here.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to