summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-03 16:18:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-04 08:36:50 +0200
commit2a1a96033967bac7a323772bc876e9e44d3464d3 (patch)
tree5f152a59b2df7e2c12ac0896f5699360cd91283b /sdext
parentfb0644e8f0a944c10b654233813ab40792e78e0a (diff)
loplugin:unusedfields in sd
Change-Id: I42def3dc21ae1a18e1c98d1aeeff4ed4425e941a Reviewed-on: https://gerrit.libreoffice.org/39479 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/pdfiadaptor.cxx3
-rw-r--r--sdext/source/pdfimport/pdfiadaptor.hxx4
-rw-r--r--sdext/source/pdfimport/services.cxx1
3 files changed, 1 insertions, 7 deletions
diff --git a/sdext/source/pdfimport/pdfiadaptor.cxx b/sdext/source/pdfimport/pdfiadaptor.cxx
index 546efea7864a..27e9ede9dd8e 100644
--- a/sdext/source/pdfimport/pdfiadaptor.cxx
+++ b/sdext/source/pdfimport/pdfiadaptor.cxx
@@ -219,8 +219,7 @@ PDFIRawAdaptor::PDFIRawAdaptor( OUString const & implementationName, const uno::
m_implementationName(implementationName),
m_xContext( xContext ),
m_xModel(),
- m_pVisitorFactory(),
- m_bEnableToplevelText(false)
+ m_pVisitorFactory()
{
}
diff --git a/sdext/source/pdfimport/pdfiadaptor.hxx b/sdext/source/pdfimport/pdfiadaptor.hxx
index 1e5bc3687fd0..7843505f0f64 100644
--- a/sdext/source/pdfimport/pdfiadaptor.hxx
+++ b/sdext/source/pdfimport/pdfiadaptor.hxx
@@ -89,7 +89,6 @@ namespace pdfi
css::uno::Reference<
css::frame::XModel > m_xModel;
TreeVisitorFactorySharedPtr m_pVisitorFactory;
- bool m_bEnableToplevelText;
bool parse( const css::uno::Reference<css::io::XInputStream>& xInput,
const css::uno::Reference<css::task::XInteractionHandler>& xIHdl,
@@ -111,9 +110,6 @@ namespace pdfi
*/
void setTreeVisitorFactory(const TreeVisitorFactorySharedPtr& rVisitorFactory);
- /// TEMP - enable writer-like text:p on doc level
- void enableToplevelText() { m_bEnableToplevelText=true; }
-
/** Export pdf document to ODG
@param xOutput
diff --git a/sdext/source/pdfimport/services.cxx b/sdext/source/pdfimport/services.cxx
index 52916d2ed45d..8a2998684b31 100644
--- a/sdext/source/pdfimport/services.cxx
+++ b/sdext/source/pdfimport/services.cxx
@@ -43,7 +43,6 @@ namespace
pdfi::PDFIRawAdaptor* pAdaptor = new pdfi::PDFIRawAdaptor( "org.libreoffice.comp.documents.WriterPDFImport", _rxContext );
pAdaptor->setTreeVisitorFactory(pdfi::createWriterTreeVisitorFactory());
- pAdaptor->enableToplevelText(); // TEMP! TEMP!
return uno::Reference<uno::XInterface>(static_cast<xml::XImportFilter*>(pAdaptor));
}