summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-03-09 16:04:41 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-03-09 18:07:34 +0100
commit0f3b02f38394053deca3a4277ffd78c57795f189 (patch)
tree96ac3e319980d436ac6066ffece4564a41c7a319 /vcl
parent60b041f1a0bb5312dd4147698bb1a829dc25227b (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.cxx2
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++ )
{