summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-18 14:24:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-19 11:57:57 +0100
commita5be07d6b627a18f104e2feed063ff9020e8c610 (patch)
tree389ea7a3c163bcafca743373b94cda4fba937552 /xmloff
parentb0cecbfb03dba67f01d1411a1e8b7402c2ca90ce (diff)
inline use-once typedefs
Change-Id: I5c3ffc03c26b3428f1f336e6ecba7838a1cf1157 Reviewed-on: https://gerrit.libreoffice.org/46764 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/inc/RDFaImportHelper.hxx4
-rw-r--r--xmloff/source/text/txtparae.cxx3
2 files changed, 2 insertions, 5 deletions
diff --git a/xmloff/inc/RDFaImportHelper.hxx b/xmloff/inc/RDFaImportHelper.hxx
index c64e5a19cd7c..7242d3fdcc1f 100644
--- a/xmloff/inc/RDFaImportHelper.hxx
+++ b/xmloff/inc/RDFaImportHelper.hxx
@@ -45,9 +45,7 @@ class RDFaImportHelper
private:
const SvXMLImport & m_rImport;
- typedef ::std::vector< RDFaEntry > RDFaEntries_t;
-
- RDFaEntries_t m_RDFaEntries;
+ ::std::vector< RDFaEntry > m_RDFaEntries;
const SvXMLImport & GetImport() const { return m_rImport; }
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 932505961e75..e6b93e5a918f 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -139,8 +139,7 @@ namespace
class TextContentSet
{
public:
- typedef Reference<XTextContent> text_content_ref_t;
- typedef list<text_content_ref_t> contents_t;
+ typedef list<Reference<XTextContent>> contents_t;
typedef back_insert_iterator<contents_t> inserter_t;
typedef contents_t::const_iterator const_iterator_t;