Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: The file-manager crashed during parsing some files #22

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 3rdparty/libs/fileext/excel/formula.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ void Formula::evaluateFormula(Name& name, int nameIndex, int level) {
evaluateFormula(targetName, targetNameIndex, level+1);

Operand res(oUNK);
if (!(targetName.m_macro || targetName.m_isBinary || targetName.m_hasError))
if (!targetName.m_stack.empty() && !(targetName.m_macro || targetName.m_isBinary || targetName.m_hasError))
res = targetName.m_stack[0];
res.m_rank = LEAF_RANK;

Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
docparser (1.0.7) unstable; urgency=medium

* update to 1.0.7.

-- lvwujun <[email protected]> Tue, 05 Feb 2024 13:08:21 +0800

docparser (1.0.0) unstable; urgency=medium

* Initial Release.
Expand Down
Loading