diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-11 11:23:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-11 21:31:48 +0200 |
commit | a75cc6348ce578f619c7429f5157fae53eb08e01 (patch) | |
tree | f848102cf718a36e40833d07762f1af53d8399ab /vcl | |
parent | 7e1503b4231ef8084478b72b0992c98198ec8070 (diff) |
loplugin:unusedfields
Change-Id: I42a55562747e6097c1193e285da67235f5364bea
Reviewed-on: https://gerrit.libreoffice.org/55610
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 9 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.hxx | 1 |
2 files changed, 1 insertions, 9 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 29ee93f50c95..c06b7acdf853 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -1126,8 +1126,7 @@ PDFWriterImpl::PDFPage::PDFPage( PDFWriterImpl* pWriter, double nPageWidth, doub m_nStreamLengthObject( 0 ), m_nBeginStreamPos( 0 ), m_eTransition( PDFWriter::PageTransition::Regular ), - m_nTransTime( 0 ), - m_nDuration( 0 ) + m_nTransTime( 0 ) { // object ref must be only ever updated in emit() m_nPageObject = m_pWriter->createObject(); @@ -1252,12 +1251,6 @@ bool PDFWriterImpl::PDFPage::emit(sal_Int32 nParentObject ) aLine.append( sal_Int32(m_pWriter->m_aStructParentTree.size()-1) ); aLine.append( "\n" ); } - if( m_nDuration > 0 ) - { - aLine.append( "/Dur " ); - aLine.append( static_cast<sal_Int32>(m_nDuration) ); - aLine.append( "\n" ); - } if( m_eTransition != PDFWriter::PageTransition::Regular && m_nTransTime > 0 ) { // transition duration diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index e663ef6ab875..15603515a44c 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -146,7 +146,6 @@ public: std::vector<sal_Int32> m_aMCIDParents; PDFWriter::PageTransition m_eTransition; sal_uInt32 m_nTransTime; - sal_uInt32 m_nDuration; PDFPage( PDFWriterImpl* pWriter, double nPageWidth, double nPageHeight, PDFWriter::Orientation eOrientation ); ~PDFPage(); |