[Libreoffice-commits] core.git: vcl/source
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Mon Dec 30 20:16:52 UTC 2019
vcl/source/gdi/pdfwriter_impl.hxx | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
New commits:
commit 26000465c11656b4189b524546c661cacd555e36
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon Dec 30 18:03:21 2019 +0100
Commit: Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Dec 30 21:16:21 2019 +0100
pdf: move PDFStructureElementKid out of PDFWriterImpl class
Change-Id: I4d213944d83b70058be2ed676a5533481904169e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86023
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 9ca568cbea64..eefb11b79d4b 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -477,6 +477,16 @@ struct PDFStructureAttribute
{}
};
+struct PDFStructureElementKid // for Kids entries
+{
+ sal_Int32 const nObject; // an object number if nMCID is -1,
+ // else the page object relevant to MCID
+ sal_Int32 const nMCID; // an MCID if >= 0
+
+ explicit PDFStructureElementKid( sal_Int32 nObj ) : nObject( nObj ), nMCID( -1 ) {}
+ PDFStructureElementKid( sal_Int32 MCID, sal_Int32 nPage ) : nObject( nPage ), nMCID( MCID ) {}
+};
+
}
class PDFWriterImpl : public VirtualDevice
@@ -486,16 +496,6 @@ class PDFWriterImpl : public VirtualDevice
public:
friend struct vcl::pdf::PDFPage;
- struct PDFStructureElementKid // for Kids entries
- {
- sal_Int32 const nObject; // an object number if nMCID is -1,
- // else the page object relevant to MCID
- sal_Int32 const nMCID; // an MCID if >= 0
-
- explicit PDFStructureElementKid( sal_Int32 nObj ) : nObject( nObj ), nMCID( -1 ) {}
- PDFStructureElementKid( sal_Int32 MCID, sal_Int32 nPage ) : nObject( nPage ), nMCID( MCID ) {}
- };
-
struct PDFStructureElement
{
sal_Int32 m_nObject;
More information about the Libreoffice-commits
mailing list