Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Christian Persch
poppler
Commits
e69cd723
Commit
e69cd723
authored
Nov 07, 2018
by
Albert Astals Cid
Committed by
Albert Astals Cid
Nov 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to store to a QImage variable to not use it later
Makes clazy happier
parent
8969d878
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
qt5/tests/stress-poppler-dir.cpp
qt5/tests/stress-poppler-dir.cpp
+1
-1
qt5/tests/stress-poppler-qt5.cpp
qt5/tests/stress-poppler-qt5.cpp
+1
-1
No files found.
qt5/tests/stress-poppler-dir.cpp
View file @
e69cd723
...
...
@@ -49,7 +49,7 @@ int main( int argc, char **argv )
for
(
int
index
=
0
;
index
<
doc
->
numPages
();
++
index
)
{
Poppler
::
Page
*
page
=
doc
->
page
(
index
);
QImage
image
=
page
->
renderToImage
();
page
->
renderToImage
();
page
->
pageSize
();
page
->
orientation
();
delete
page
;
...
...
qt5/tests/stress-poppler-qt5.cpp
View file @
e69cd723
...
...
@@ -56,7 +56,7 @@ int main( int argc, char **argv )
for
(
int
index
=
0
;
index
<
doc
->
numPages
();
++
index
)
{
Poppler
::
Page
*
page
=
doc
->
page
(
index
);
QImage
image
=
page
->
renderToImage
();
page
->
renderToImage
();
page
->
pageSize
();
page
->
orientation
();
delete
page
;
...
...
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