diff options
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.hxx | 42 |
2 files changed, 22 insertions, 22 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 372d5e2c15d7..677987d81d97 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -1932,7 +1932,7 @@ const char* PDFWriterImpl::getAttributeValueTag( PDFWriter::StructAttributeValue return it != aValueStrings.end() ? it->second : ""; } -static void appendStructureAttributeLine( PDFWriter::StructAttribute i_eAttr, const PDFWriterImpl::PDFStructureAttribute& i_rVal, OStringBuffer& o_rLine, bool i_bIsFixedInt ) +static void appendStructureAttributeLine( PDFWriter::StructAttribute i_eAttr, const PDFStructureAttribute& i_rVal, OStringBuffer& o_rLine, bool i_bIsFixedInt ) { o_rLine.append( "/" ); o_rLine.append( PDFWriterImpl::getAttributeTag( i_eAttr ) ); diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index 9c4a527aa5ab..9ca568cbea64 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -456,6 +456,27 @@ struct PDFWidget : public PDFAnnotation {} }; +struct PDFStructureAttribute +{ + PDFWriter::StructAttributeValue eValue; + sal_Int32 nValue; + + PDFStructureAttribute() + : eValue( PDFWriter::Invalid ), + nValue( 0 ) + {} + + explicit PDFStructureAttribute( PDFWriter::StructAttributeValue eVal ) + : eValue( eVal ), + nValue( 0 ) + {} + + explicit PDFStructureAttribute( sal_Int32 nVal ) + : eValue( PDFWriter::Invalid ), + nValue( nVal ) + {} +}; + } class PDFWriterImpl : public VirtualDevice @@ -465,27 +486,6 @@ class PDFWriterImpl : public VirtualDevice public: friend struct vcl::pdf::PDFPage; - struct PDFStructureAttribute - { - PDFWriter::StructAttributeValue eValue; - sal_Int32 nValue; - - PDFStructureAttribute() - : eValue( PDFWriter::Invalid ), - nValue( 0 ) - {} - - explicit PDFStructureAttribute( PDFWriter::StructAttributeValue eVal ) - : eValue( eVal ), - nValue( 0 ) - {} - - explicit PDFStructureAttribute( sal_Int32 nVal ) - : eValue( PDFWriter::Invalid ), - nValue( nVal ) - {} - }; - struct PDFStructureElementKid // for Kids entries { sal_Int32 const nObject; // an object number if nMCID is -1, |