summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-06-10 09:39:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-06-10 13:19:07 +0200
commitcea5df84466fb7cbecada6840b918d736f9b89c3 (patch)
tree6345a9458d8bdc22f5b0da554145cca2b3398683 /oox
parent5de138edf041ea56652f8a41471f63859ef3318a (diff)
loplugin:unusedmethods
Change-Id: I2890e29b3e18cdf7822bf93ee7c17cd8221497a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116971 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/inc/drawingml/textbody.hxx2
-rw-r--r--oox/source/drawingml/textbody.cxx5
2 files changed, 0 insertions, 7 deletions
diff --git a/oox/inc/drawingml/textbody.hxx b/oox/inc/drawingml/textbody.hxx
index 093642f30d97..ac6c66b49515 100644
--- a/oox/inc/drawingml/textbody.hxx
+++ b/oox/inc/drawingml/textbody.hxx
@@ -46,8 +46,6 @@ public:
const TextParagraphVector& getParagraphs() const { return maParagraphs; }
TextParagraph& addParagraph();
- /// Appends an existing paragraph to this text body.
- void appendParagraph(std::shared_ptr<TextParagraph> pTextParagraph);
const TextListStyle& getTextListStyle() const { return maTextListStyle; }
TextListStyle& getTextListStyle() { return maTextListStyle; }
diff --git a/oox/source/drawingml/textbody.cxx b/oox/source/drawingml/textbody.cxx
index c6abacf7d485..1326c790328f 100644
--- a/oox/source/drawingml/textbody.cxx
+++ b/oox/source/drawingml/textbody.cxx
@@ -48,11 +48,6 @@ TextParagraph& TextBody::addParagraph()
return *xPara;
}
-void TextBody::appendParagraph(std::shared_ptr<TextParagraph> pTextParagraph)
-{
- maParagraphs.push_back(pTextParagraph);
-}
-
void TextBody::insertAt(
const ::oox::core::XmlFilterBase& rFilterBase,
const Reference < XText > & xText,