summaryrefslogtreecommitdiffstats
path: root/xmloff/source/style/xmlnumfi.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-03 12:34:22 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-08-03 12:16:33 +0000
commita4fd6c4f9e5b010f00ba7cc84a4b2d5d8950813a (patch)
tree6b2aa80c50d3937cfe17053a5da48f19855dcb68 /xmloff/source/style/xmlnumfi.cxx
parentinline some use-once typedefs (diff)
downloadcore-a4fd6c4f9e5b010f00ba7cc84a4b2d5d8950813a.tar.gz
core-a4fd6c4f9e5b010f00ba7cc84a4b2d5d8950813a.zip
inline some use-once typedefs
Change-Id: I02cbbba56a2ad83e0ac3d806265a7e0d6a29594d Reviewed-on: https://gerrit.libreoffice.org/17495 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff/source/style/xmlnumfi.cxx')
-rw-r--r--xmloff/source/style/xmlnumfi.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index 700cbae229c1..6a80964fc450 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -60,12 +60,10 @@ struct SvXMLNumFmtEntry
aName(rN), nKey(nK), bRemoveAfterUse(bR) {}
};
-typedef ::boost::ptr_vector<SvXMLNumFmtEntry> SvXMLNumFmtEntryArr;
-
struct SvXMLEmbeddedElement
{
- sal_Int32 nFormatPos;
- OUString aText;
+ sal_Int32 nFormatPos;
+ OUString aText;
SvXMLEmbeddedElement( sal_Int32 nFP, const OUString& rT ) :
nFormatPos(nFP), aText(rT) {}
@@ -83,7 +81,7 @@ class SvXMLNumImpData
SvXMLTokenMap* pStyleAttrTokenMap;
SvXMLTokenMap* pStyleElemAttrTokenMap;
LocaleDataWrapper* pLocaleData;
- SvXMLNumFmtEntryArr aNameEntries;
+ boost::ptr_vector<SvXMLNumFmtEntry> aNameEntries;
uno::Reference< uno::XComponentContext > m_xContext;