Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Persch
poppler
Commits
8d5931e6
Commit
8d5931e6
authored
Nov 14, 2018
by
Albert Astals Cid
Browse files
AnnotAppearance::getAppearanceStream: Save a copy() call
parent
c3a2c11a
Changes
1
Hide whitespace changes
Inline
Side-by-side
poppler/Annot.cc
View file @
8d5931e6
...
...
@@ -905,13 +905,12 @@ Object AnnotAppearance::getAppearanceStream(AnnotAppearanceType type, const char
break
;
}
Object
res
;
if
(
apData
.
isDict
()
&&
state
)
re
s
=
apData
.
dictLookupNF
(
state
);
re
turn
apData
.
dictLookupNF
(
state
);
else
if
(
apData
.
isRef
())
re
s
=
apData
.
copy
()
;
re
turn
apData
;
return
res
;
return
Object
()
;
}
std
::
unique_ptr
<
GooString
>
AnnotAppearance
::
getStateKey
(
int
i
)
{
...
...
Write
Preview
Supports
Markdown
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