[Libreoffice-commits] core.git: vcl/source
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Mon Dec 30 16:21:07 UTC 2019
vcl/source/gdi/pdfwriter_impl.hxx | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
New commits:
commit 7c23451b591dae03a0ede4c12340994bdf22d1e3
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon Dec 30 12:11:17 2019 +0100
Commit: Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Dec 30 17:20:33 2019 +0100
pdf: move JPGEmit out of PDFWriterImpl class
Change-Id: I0a3b3270ebba4c968cf9d9cab1e34c760fed05ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86000
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index 8e3b188a13bc..c04424fe7932 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -200,6 +200,23 @@ struct BitmapEmit
}
};
+struct JPGEmit
+{
+ BitmapID m_aID;
+ std::unique_ptr<SvMemoryStream>
+ m_pStream;
+ Bitmap m_aMask;
+ sal_Int32 m_nObject;
+ bool m_bTrueColor;
+ ReferenceXObjectEmit m_aReferenceXObject;
+
+ JPGEmit()
+ : m_nObject(0)
+ , m_bTrueColor(false)
+ {
+ }
+};
+
}
class PDFWriterImpl : public VirtualDevice
@@ -209,23 +226,6 @@ class PDFWriterImpl : public VirtualDevice
public:
friend struct vcl::pdf::PDFPage;
- struct JPGEmit
- {
- BitmapID m_aID;
- std::unique_ptr<SvMemoryStream>
- m_pStream;
- Bitmap m_aMask;
- sal_Int32 m_nObject;
- bool m_bTrueColor;
- ReferenceXObjectEmit m_aReferenceXObject;
-
- JPGEmit()
- : m_nObject(0)
- , m_bTrueColor(false)
- {
- }
- };
-
struct GradientEmit
{
Gradient m_aGradient;
More information about the Libreoffice-commits
mailing list