mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 13:40:19 +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>
|
2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
|
||||||
|
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
#include <boost/assert.hpp>
|
#include <boost/assert.hpp>
|
||||||
|
|
||||||
|
using std::string;
|
||||||
|
|
||||||
|
|
||||||
ASpell::ASpell(BufferParams const &, string const & lang)
|
ASpell::ASpell(BufferParams const &, string const & lang)
|
||||||
: els(0), spell_error_object(0)
|
: els(0), spell_error_object(0)
|
||||||
|
@ -30,7 +30,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Initialise the spellchecker with the given buffer params and language.
|
* 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();
|
virtual ~ASpell();
|
||||||
|
|
||||||
@ -50,21 +50,21 @@ public:
|
|||||||
virtual void accept(WordLangTuple const &);
|
virtual void accept(WordLangTuple const &);
|
||||||
|
|
||||||
/// return the next near miss after a MISSED result
|
/// 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
|
/// give an error message on messy exit
|
||||||
virtual string const error();
|
virtual std::string const error();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// add a speller of the given language
|
/// add a speller of the given language
|
||||||
void addSpeller(string const & lang);
|
void addSpeller(std::string const & lang);
|
||||||
|
|
||||||
struct Speller {
|
struct Speller {
|
||||||
AspellSpeller * speller;
|
AspellSpeller * speller;
|
||||||
AspellConfig * config;
|
AspellConfig * config;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef std::map<string, struct Speller> Spellers;
|
typedef std::map<std::string, struct Speller> Spellers;
|
||||||
|
|
||||||
/// the spellers
|
/// the spellers
|
||||||
Spellers 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>
|
2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||||
|
|
||||||
* std_string.h: delete file
|
* std_string.h: delete file
|
||||||
|
@ -27,7 +27,7 @@ libsupport_la_SOURCES = \
|
|||||||
copy.C \
|
copy.C \
|
||||||
copied_ptr.h \
|
copied_ptr.h \
|
||||||
cow_ptr.h \
|
cow_ptr.h \
|
||||||
debugstream,h \
|
debugstream.h \
|
||||||
filename.C \
|
filename.C \
|
||||||
filename.h \
|
filename.h \
|
||||||
filetools.C \
|
filetools.C \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user