summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-03 11:35:58 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-08-03 12:16:13 +0000
commit5256953397b495e9271cec92cc78514d772acaf5 (patch)
tree4fb0ff2d5938a849c19f675be5016c423fd3ea7e /oox
parent7dc5e8731fdc3a11ca429e717ec4a05e67ea1d21 (diff)
inline some use-once typedefs
Change-Id: I55cc82c8e180cce371c996690608090b1bfdfda4 Reviewed-on: https://gerrit.libreoffice.org/17494 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/inc/drawingml/textparagraph.hxx2
-rw-r--r--oox/source/drawingml/textbody.cxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/oox/inc/drawingml/textparagraph.hxx b/oox/inc/drawingml/textparagraph.hxx
index d3e93d431023..6a0643f47c12 100644
--- a/oox/inc/drawingml/textparagraph.hxx
+++ b/oox/inc/drawingml/textparagraph.hxx
@@ -63,8 +63,6 @@ private:
TextRunVector maRuns;
};
-typedef std::shared_ptr< TextParagraph > TextParagraphPtr;
-
} }
#endif // INCLUDED_OOX_DRAWINGML_TEXTPARAGRAPH_HXX
diff --git a/oox/source/drawingml/textbody.cxx b/oox/source/drawingml/textbody.cxx
index 165b9dbdba0a..3aa835e6c047 100644
--- a/oox/source/drawingml/textbody.cxx
+++ b/oox/source/drawingml/textbody.cxx
@@ -47,7 +47,7 @@ TextBody::~TextBody()
TextParagraph& TextBody::addParagraph()
{
- TextParagraphPtr xPara( new TextParagraph );
+ std::shared_ptr< TextParagraph > xPara( new TextParagraph );
maParagraphs.push_back( xPara );
return *xPara;
}