Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
7109a4de
Commit
7109a4de
authored
Oct 14, 2016
by
konovalovsergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crash: vml path with formula reference to nonexistent formula.
parent
38e25d49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
+24
-2
ASCOfficePPTXFile/Editor/Drawing/Shapes/BaseShape/Path.h
ASCOfficePPTXFile/Editor/Drawing/Shapes/BaseShape/Path.h
+24
-2
No files found.
ASCOfficePPTXFile/Editor/Drawing/Shapes/BaseShape/Path.h
View file @
7109a4de
...
...
@@ -1354,8 +1354,30 @@ namespace NSPresentationEditor
{
switch
(
eParamType
)
{
case
ptFormula
:
{
lValue
=
pManager
.
m_arResults
[
lValue
];
break
;
}
case
ptAdjust
:
{
lValue
=
(
*
(
pManager
.
m_pAdjustments
))[
lValue
];
break
;
}
case
ptFormula
:
{
if
(
0
<=
lValue
&&
lValue
<
pManager
.
m_arResults
.
size
())
{
lValue
=
pManager
.
m_arResults
[
lValue
];
}
else
{
lValue
=
0
;
}
break
;
}
case
ptAdjust
:
{
if
(
0
<=
lValue
&&
lValue
<
pManager
.
m_pAdjustments
->
size
())
{
lValue
=
(
*
(
pManager
.
m_pAdjustments
))[
lValue
];
}
else
{
lValue
=
0
;
}
break
;
}
default:
break
;
};
if
(
0
!=
m_arSlices
.
size
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment