diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2018-06-25 00:01:52 +0300 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-25 09:11:16 +0200 |
commit | 087213c6a27de31d36d9ccb72a514048a0bb7724 (patch) | |
tree | 68fb37aad1e7b7bc51ec384c81ed75e72bbd81a6 /sw/inc | |
parent | 71d02f5b6ca78935df3d09ec0a5817f5870b056e (diff) |
tdf#96099 Remove trivial container typedefs in stoc, svl, svx, sw
Change-Id: I0b4d18d2120ba2ce7d2526332bec199f52393290
Reviewed-on: https://gerrit.libreoffice.org/56363
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/modeltoviewhelper.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sw/inc/modeltoviewhelper.hxx b/sw/inc/modeltoviewhelper.hxx index d05630f91789..8c7783221757 100644 --- a/sw/inc/modeltoviewhelper.hxx +++ b/sw/inc/modeltoviewhelper.hxx @@ -99,12 +99,11 @@ class ModelToViewHelper bool m_bVisible; }; typedef std::vector< ConversionMapEntry > ConversionMap; - typedef std::vector<sal_Int32> Positions; ConversionMap m_aMap; /// store positions of fields and footnotes for grammar checkers - Positions m_FieldPositions; - Positions m_FootnotePositions; + std::vector<sal_Int32> m_FieldPositions; + std::vector<sal_Int32> m_FootnotePositions; OUString m_aRetText; @@ -163,8 +162,8 @@ public: ModelPosition ConvertToModelPosition( sal_Int32 nViewPos ) const; const OUString& getViewText() const { return m_aRetText; } - Positions const& getFieldPositions() const { return m_FieldPositions; } - Positions const& getFootnotePositions() const { return m_FootnotePositions;} + std::vector<sal_Int32> const& getFieldPositions() const { return m_FieldPositions; } + std::vector<sal_Int32> const& getFootnotePositions() const { return m_FootnotePositions;} }; #endif |