diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-09-24 13:12:36 +0900 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-29 11:05:22 +0000 |
commit | ce3c818e8977561e6fbf11fe62997f29ae918521 (patch) | |
tree | 40dd3d1dd9e8a75959379772824e10db4fff5874 /starmath/inc | |
parent | ccdf49ab240ca263f43b75bfd856d1a28ee6f61d (diff) |
starmath: tdf#93240 replace boost::ptr_vector
with std::vector<std::unique_ptr>
Change-Id: I72f96b08273c73cbd11c7796c34a45b262325209
Reviewed-on: https://gerrit.libreoffice.org/18820
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/parse.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index f44f379a7e63..0ae01efa7f6e 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -20,8 +20,9 @@ #define INCLUDED_STARMATH_INC_PARSE_HXX #include <vcl/svapp.hxx> +#include <memory> #include <set> -#include <boost/ptr_container/ptr_vector.hpp> +#include <vector> #include "types.hxx" #include "token.hxx" @@ -33,7 +34,7 @@ class SmParser OUString m_aBufferString; SmToken m_aCurToken; SmNodeStack m_aNodeStack; - boost::ptr_vector< SmErrorDesc > m_aErrDescList; + std::vector<std::unique_ptr<SmErrorDesc>> m_aErrDescList; int m_nCurError; LanguageType m_nLang; sal_Int32 m_nBufferIndex, |