[Libreoffice-commits] core.git: vcl/source

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Mon Dec 30 22:17:09 UTC 2019


 vcl/source/gdi/pdfwriter_impl.hxx |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

New commits:
commit 9cdcc900223a2727a2bca482bd5e70ea63e15a88
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon Dec 30 18:11:19 2019 +0100
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Dec 30 23:16:36 2019 +0100

    pdf: move StreamRedirect out of PDFWriterImpl class
    
    Change-Id: Ia11129ec83c041ffbf462c29bb814b400c1a3f56
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86030
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
    Tested-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index 6e4a99f7bcf2..4c677e76b119 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -552,6 +552,14 @@ struct PDFGlyph
     {}
 };
 
+struct StreamRedirect
+{
+    SvStream*       m_pStream;
+    MapMode         m_aMapMode;
+    tools::Rectangle       m_aTargetRect;
+    ResourceDict    m_aResourceDict;
+};
+
 }
 
 class PDFWriterImpl : public VirtualDevice
@@ -674,13 +682,6 @@ private:
     /* output redirection; e.g. to accumulate content streams for
        XObjects
      */
-    struct StreamRedirect
-    {
-        SvStream*       m_pStream;
-        MapMode         m_aMapMode;
-        tools::Rectangle       m_aTargetRect;
-        ResourceDict    m_aResourceDict;
-    };
     std::list< StreamRedirect >         m_aOutputStreams;
 
     // graphics state


More information about the Libreoffice-commits mailing list