https://bugs.documentfoundation.org/show_bug.cgi?id=120210
Bug ID: 120210
Summary: meet issue in open some excel files with hiding
everything but the working area in a worksheet
Product: LibreOffice
Version: 5.4.4.2 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Description:
nCol should be checked in sc/source/core/data/document.cxx ScDocument::GetNote
ScPostIt* ScDocument::GetNote(SCCOL nCol, SCROW nRow, SCTAB nTab)
{
- if (ValidTab(nTab) && nTab < static_cast<SCTAB>(maTabs.size()))
+ if (ValidTab(nTab) && nTab < static_cast<SCTAB>(maTabs.size()) && nCol <
static_cast<SCCOL>(maTabs[nTab]->aCol.size()))
return maTabs[nTab]->aCol[nCol].GetCellNote(nRow);
else
return nullptr;
Way to hide everything but the working area in an Excel worksheet:
https://www.techrepublic.com/blog/microsoft-office/hide-everything-but-the-working-area-in-an-excel-worksheet/
Steps to Reproduce:
1. open excel files with hiding everything but the working area in a
libreoffice oline
Actual Results:
failed to open
Expected Results:
open correct
Reproducible: Always
User Profile Reset: No
Additional Info:
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs