Skip to content

Commit

Permalink
Don't need to create ExtGState there anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
RockinRoel committed Dec 14, 2018
1 parent d57f719 commit 172acb1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Wt/WPdfImage.C
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,6 @@ void WPdfImage::setChanged(WFlags<ChangeFlag> flags)
HPDF_Page_GRestore(page_);
HPDF_Page_GSave(page_);

HPDF_ExtGState gstate;
gstate = HPDF_CreateExtGState (pdf_);

currentFont_ = WFont();

if (painter()->hasClipping()) {
Expand Down

0 comments on commit 172acb1

Please sign in to comment.