[Libreoffice-commits] .: basic/source
August Sodora
augsod at kemper.freedesktop.org
Fri Nov 25 21:06:45 PST 2011
basic/source/comp/symtbl.cxx | 2 +-
basic/source/inc/symtbl.hxx | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 0e8ddddfd29c3139284fda47d6ea25b5661955ef
Author: August Sodora <augsod at gmail.com>
Date: Sat Nov 26 00:06:05 2011 -0500
Change boost::ptr_vector to std::vector
diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx
index c81a1f3..1aaeca4 100644
--- a/basic/source/comp/symtbl.cxx
+++ b/basic/source/comp/symtbl.cxx
@@ -75,7 +75,7 @@ short SbiStringPool::Add( const rtl::OUString& rVal, sal_Bool bNoCase )
return i+1;
}
- aData.push_back(new rtl::OUString(rVal));
+ aData.push_back(rVal);
return (short) ++n;
}
diff --git a/basic/source/inc/symtbl.hxx b/basic/source/inc/symtbl.hxx
index 33da527..efdc704 100644
--- a/basic/source/inc/symtbl.hxx
+++ b/basic/source/inc/symtbl.hxx
@@ -29,8 +29,6 @@
#ifndef _SYMTBL_HXX
#define _SYMTBL_HXX
-#include <boost/ptr_container/ptr_vector.hpp>
-
class SbiConstDef;
class SbiParser;
class SbiProcDef;
@@ -44,7 +42,7 @@ enum SbiSymScope { SbLOCAL, SbPARAM, SbPUBLIC, SbGLOBAL, SbRTL };
class SbiStringPool {
const rtl::OUString aEmpty;
- boost::ptr_vector<rtl::OUString> aData;
+ std::vector<rtl::OUString> aData;
SbiParser* pParser;
public:
SbiStringPool( SbiParser* );
More information about the Libreoffice-commits
mailing list