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 703c6e6 commit aed5a2a
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 @@ -186,9 +186,6 @@ void WPdfImage::setChanged(WFlags<PainterChangeFlag> 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 aed5a2a

Please sign in to comment.