diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-03-09 16:04:41 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-03-09 18:07:34 +0100 |
commit | 0f3b02f38394053deca3a4277ffd78c57795f189 (patch) | |
tree | 96ac3e319980d436ac6066ffece4564a41c7a319 /vcl | |
parent | 60b041f1a0bb5312dd4147698bb1a829dc25227b (diff) |
PDF export: use MARK() when writing links
Links can be created using link or widget annotations, this helps
finding the relevant code when reading the debug output. Same for page
objects.
Change-Id: Iec7f5c5d92da6dfcd0e8b6681a949a42a095ce18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90233
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index f5efd314fcb8..e747071adbe1 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -618,6 +618,7 @@ void PDFPage::endStream() bool PDFPage::emit(sal_Int32 nParentObject ) { + m_pWriter->MARK("PDFPage::emit"); // emit page object if( ! m_pWriter->updateObject( m_nPageObject ) ) return false; @@ -3159,6 +3160,7 @@ bool PDFWriterImpl::emitScreenAnnotations() bool PDFWriterImpl::emitLinkAnnotations() { + MARK("PDFWriterImpl::emitLinkAnnotations"); int nAnnots = m_aLinks.size(); for( int i = 0; i < nAnnots; i++ ) { |