aspell: use const rclconfig
This commit is contained in:
parent
5dab03daf9
commit
9d8ce3df62
@ -103,7 +103,7 @@ public:
|
|||||||
AspellSpeller *m_speller;
|
AspellSpeller *m_speller;
|
||||||
};
|
};
|
||||||
|
|
||||||
Aspell::Aspell(RclConfig *cnf)
|
Aspell::Aspell(const RclConfig *cnf)
|
||||||
: m_config(cnf), m_data(0)
|
: m_config(cnf), m_data(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@ -41,7 +41,7 @@ class AspellData;
|
|||||||
|
|
||||||
class Aspell {
|
class Aspell {
|
||||||
public:
|
public:
|
||||||
Aspell(RclConfig *cnf);
|
Aspell(const RclConfig *cnf);
|
||||||
~Aspell();
|
~Aspell();
|
||||||
|
|
||||||
/** Check health */
|
/** Check health */
|
||||||
@ -68,7 +68,7 @@ class Aspell {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::string dicPath();
|
std::string dicPath();
|
||||||
RclConfig *m_config;
|
const RclConfig *m_config;
|
||||||
std::string m_lang;
|
std::string m_lang;
|
||||||
AspellData *m_data;
|
AspellData *m_data;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user