std::string fixes and small typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7871 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2003-10-07 13:32:17 +00:00
parent 10cccff7c0
commit 35c0c230d7
5 changed files with 16 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* aspell.C:
* aspell_local.h: add forgotten std::string's.
2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>

View File

@ -22,6 +22,8 @@
#include <boost/assert.hpp>
using std::string;
ASpell::ASpell(BufferParams const &, string const & lang)
: els(0), spell_error_object(0)

View File

@ -30,7 +30,7 @@ public:
/**
* Initialise the spellchecker with the given buffer params and language.
*/
ASpell(BufferParams const & params, string const & lang);
ASpell(BufferParams const & params, std::string const & lang);
virtual ~ASpell();
@ -50,21 +50,21 @@ public:
virtual void accept(WordLangTuple const &);
/// return the next near miss after a MISSED result
virtual string const nextMiss();
virtual std::string const nextMiss();
/// give an error message on messy exit
virtual string const error();
virtual std::string const error();
private:
/// add a speller of the given language
void addSpeller(string const & lang);
void addSpeller(std::string const & lang);
struct Speller {
AspellSpeller * speller;
AspellConfig * config;
};
typedef std::map<string, struct Speller> Spellers;
typedef std::map<std::string, struct Speller> Spellers;
/// the spellers
Spellers spellers_;

View File

@ -1,3 +1,7 @@
2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* Makefile.am: fix typo.
2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
* std_string.h: delete file

View File

@ -27,7 +27,7 @@ libsupport_la_SOURCES = \
copy.C \
copied_ptr.h \
cow_ptr.h \
debugstream,h \
debugstream.h \
filename.C \
filename.h \
filetools.C \