summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pdfwriter_impl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl.cxx')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 83d5c75bc912..eefdc53b4db7 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -5519,6 +5519,8 @@ bool PDFWriterImpl::emitTrailer()
return writeBuffer( aLine.getStr(), aLine.getLength() );
}
+namespace {
+
struct AnnotationSortEntry
{
sal_Int32 nTabOrder;
@@ -5570,6 +5572,8 @@ struct AnnotSorterLess
}
};
+}
+
void PDFWriterImpl::sortWidgets()
{
// sort widget annotations on each page as per their