diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2018-05-22 05:40:26 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-05-22 19:29:27 +0200 |
commit | 2c1fb32e0b3f0c51edcbb861977d372ae4eaf5e4 (patch) | |
tree | 347e1ce7a7607c61eb21bd8e76cc9f16228d8047 /i18npool/inc | |
parent | 98908d79a4b145f3c04d98812b2207bf433fcf1b (diff) |
Use vector in BreakIterator_th instead of C arrays
Change-Id: Ie93920bccfe5444e0066f8df85b4a9d2ff060a2d
Reviewed-on: https://gerrit.libreoffice.org/54650
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'i18npool/inc')
-rw-r--r-- | i18npool/inc/breakiterator_th.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/i18npool/inc/breakiterator_th.hxx b/i18npool/inc/breakiterator_th.hxx index 5c0119fbe919..c2f3629d1bc8 100644 --- a/i18npool/inc/breakiterator_th.hxx +++ b/i18npool/inc/breakiterator_th.hxx @@ -45,9 +45,8 @@ public: private: OUString cachedText; // for cell index - sal_Int32* nextCellIndex; - sal_Int32* previousCellIndex; - sal_Int32 cellIndexSize; + std::vector<sal_Int32> m_aNextCellIndex; + std::vector<sal_Int32> m_aPreviousCellIndex; void makeIndex(const OUString& text, sal_Int32 pos); }; |