[Libreoffice-bugs] [Bug 120210] New: meet issue in open some excel files with hiding everything but the working area in a worksheet

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Sep 30 09:51:21 UTC 2018


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: libreoffice-bugs at lists.freedesktop.org
          Reporter: nightwend at 163.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180930/3774a563/attachment.html>


More information about the Libreoffice-bugs mailing list