mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
10cccff7c0
commit
35c0c230d7
@ -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>
|
||||
|
||||
|
@ -22,6 +22,8 @@
|
||||
|
||||
#include <boost/assert.hpp>
|
||||
|
||||
using std::string;
|
||||
|
||||
|
||||
ASpell::ASpell(BufferParams const &, string const & lang)
|
||||
: els(0), spell_error_object(0)
|
||||
|
@ -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_;
|
||||
|
@ -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
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user