diff options
author | Thomas Freitag <Thomas.Freitag@alfa.de> | 2013-01-19 17:43:08 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2013-01-19 17:43:08 +0100 |
commit | 8eb489c355d734a72e140ce7e32470d048362499 (patch) | |
tree | 3de7bf4ea95c6b2b4625c636542417a5ee1bad92 /utils | |
parent | 3db9472e2b016f1b411174273f27848193ab18e5 (diff) |
Make rendering thread-safe
Bug #50992
Diffstat (limited to 'utils')
-rw-r--r-- | utils/HtmlOutputDev.cc | 3 | ||||
-rw-r--r-- | utils/HtmlOutputDev.h | 3 | ||||
-rw-r--r-- | utils/ImageOutputDev.h | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/utils/HtmlOutputDev.cc b/utils/HtmlOutputDev.cc index a718380f..8d0ffeac 100644 --- a/utils/HtmlOutputDev.cc +++ b/utils/HtmlOutputDev.cc @@ -34,6 +34,7 @@ // Copyright (C) 2012 Ihar Filipau <thephilips@gmail.com> // Copyright (C) 2012 Gerald Schmidt <solahcin@gmail.com> // Copyright (C) 2012 Pino Toscano <pino@kde.org> +// Copyright (C) 2013 Thomas Freitag <Thomas.Freitag@alfa.de> // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -1229,7 +1230,7 @@ HtmlOutputDev::~HtmlOutputDev() { delete pages; } -void HtmlOutputDev::startPage(int pageNum, GfxState *state) { +void HtmlOutputDev::startPage(int pageNum, GfxState *state, XRef *xref) { #if 0 if (mode&&!xml){ if (write){ diff --git a/utils/HtmlOutputDev.h b/utils/HtmlOutputDev.h index 12b16bff..c9fd28c1 100644 --- a/utils/HtmlOutputDev.h +++ b/utils/HtmlOutputDev.h @@ -23,6 +23,7 @@ // Copyright (C) 2011 Stephen Reichling <sreichling@chegg.com> // Copyright (C) 2012 Igor Slepchin <igor.redhat@gmail.com> // Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it> +// Copyright (C) 2013 Thomas Freitag <Thomas.Freitag@alfa.de> // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -279,7 +280,7 @@ public: // Start a page. - virtual void startPage(int pageNum, GfxState *state); + virtual void startPage(int pageNum, GfxState *state, XRef *xref); // End a page. virtual void endPage(); diff --git a/utils/ImageOutputDev.h b/utils/ImageOutputDev.h index 6201a249..13911ed3 100644 --- a/utils/ImageOutputDev.h +++ b/utils/ImageOutputDev.h @@ -18,6 +18,7 @@ // Copyright (C) 2009 Carlos Garcia Campos <carlosgc@gnome.org> // Copyright (C) 2010 Jakob Voss <jakob.voss@gbv.de> // Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com> +// Copyright (C) 2013 Thomas Freitag <Thomas.Freitag@alfa.de> // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -78,7 +79,7 @@ public: virtual GBool needNonText() { return gTrue; } // Start a page - virtual void startPage(int pageNumA, GfxState *state) + virtual void startPage(int pageNumA, GfxState *state, XRef *xref) { pageNum = pageNumA; } //---- get info about output device |