summaryrefslogtreecommitdiff
path: root/include/xmloff/txtparae.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-10 10:15:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-11 10:32:55 +0200
commit25e92d7f7c915e26febd8c868a6531d99aac30cd (patch)
treeef9ccae56e97e71e65b64ba90f894a0b0db4198e /include/xmloff/txtparae.hxx
parent3df73dc906555c5727fc5a0ee84d487f27b73817 (diff)
loplugin:inlinefields in XMLTextParagraphExport
Change-Id: If0e80fbe21b6d8bed55357d7fc09027fc4a37e06 Reviewed-on: https://gerrit.libreoffice.org/36373 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/xmloff/txtparae.hxx')
-rw-r--r--include/xmloff/txtparae.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/xmloff/txtparae.hxx b/include/xmloff/txtparae.hxx
index 070c392cc7bc..9f737e665b1b 100644
--- a/include/xmloff/txtparae.hxx
+++ b/include/xmloff/txtparae.hxx
@@ -29,6 +29,7 @@
#include <xmloff/styleexp.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/SinglePropertySetInfoCache.hxx>
+#include <xmloff/XMLTextListAutoStylePool.hxx>
#include <memory>
#include <vector>
@@ -86,7 +87,7 @@ class XMLOFF_DLLPUBLIC XMLTextParagraphExport : public XMLStyleExport
const ::std::unique_ptr< ::xmloff::BoundFrameSets > pBoundFrameSets;
XMLTextFieldExport *pFieldExport;
std::vector<OUString> *pListElements;
- XMLTextListAutoStylePool *pListAutoPool;
+ XMLTextListAutoStylePool maListAutoPool;
XMLSectionExport *pSectionExport;
XMLIndexMarkExport *pIndexMarkExport;
@@ -587,7 +588,7 @@ private:
inline const XMLTextListAutoStylePool&
XMLTextParagraphExport::GetListAutoStylePool() const
{
- return *pListAutoPool;
+ return maListAutoPool;
}
inline void XMLTextParagraphExport::exportTextFrame(