summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 09:35:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 14:45:43 +0200
commit73e6a7975b3508c5cfccb3df7c35b0303f87d9bb (patch)
tree0b9a2c93b1db01dd476be1479022ac5066980db9 /xmloff
parent3138abfb052a4241cfca4b8d430c139cca50a85c (diff)
loplugin:unusedmethods
Change-Id: I7805ac9bc6f8c0aa5ba4804777e7d7c2c29a78f3 Reviewed-on: https://gerrit.libreoffice.org/52066 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/transform/FlatTContext.cxx5
-rw-r--r--xmloff/source/transform/FlatTContext.hxx2
-rw-r--r--xmloff/source/transform/StyleOASISTContext.cxx7
-rw-r--r--xmloff/source/transform/StyleOASISTContext.hxx2
4 files changed, 0 insertions, 16 deletions
diff --git a/xmloff/source/transform/FlatTContext.cxx b/xmloff/source/transform/FlatTContext.cxx
index 0b00a0314791..1b735442fe34 100644
--- a/xmloff/source/transform/FlatTContext.cxx
+++ b/xmloff/source/transform/FlatTContext.cxx
@@ -49,9 +49,4 @@ void XMLPersTextContentTContext::Characters( const OUString& rChars )
m_aCharacters += rChars;
}
-void XMLPersTextContentTContext::ExportContent()
-{
- GetTransformer().GetDocHandler()->characters( m_aCharacters );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/transform/FlatTContext.hxx b/xmloff/source/transform/FlatTContext.hxx
index 44a8c080adcf..0f39c0f4af05 100644
--- a/xmloff/source/transform/FlatTContext.hxx
+++ b/xmloff/source/transform/FlatTContext.hxx
@@ -51,8 +51,6 @@ public:
// current element.
virtual void Characters( const OUString& rChars ) override;
- void ExportContent();
-
const OUString& GetTextContent() const { return m_aCharacters; }
};
diff --git a/xmloff/source/transform/StyleOASISTContext.cxx b/xmloff/source/transform/StyleOASISTContext.cxx
index 3546f0bc7377..9d26f853cbee 100644
--- a/xmloff/source/transform/StyleOASISTContext.cxx
+++ b/xmloff/source/transform/StyleOASISTContext.cxx
@@ -905,13 +905,6 @@ void XMLStyleOASISTContext::Characters( const OUString& )
// element content only:
}
-void XMLStyleOASISTContext::ExportContent()
-{
- if( m_xPropContext.is() )
- m_xPropContext->Export();
- XMLPersElemContentTContext::ExportContent();
-}
-
bool XMLStyleOASISTContext::IsPersistent() const
{
return m_bPersistent;
diff --git a/xmloff/source/transform/StyleOASISTContext.hxx b/xmloff/source/transform/StyleOASISTContext.hxx
index 4a07fcc1fcc8..a2a9886d3e45 100644
--- a/xmloff/source/transform/StyleOASISTContext.hxx
+++ b/xmloff/source/transform/StyleOASISTContext.hxx
@@ -54,8 +54,6 @@ public:
virtual void EndElement() override;
virtual void Characters( const OUString& rChars ) override;
- void ExportContent();
-
virtual bool IsPersistent() const override;
static XMLTransformerActions *CreateTransformerActions( sal_uInt16 nType );