mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
* WordLangTuple.h: better initialization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33379 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
707935ab23
commit
aaaf6acb2d
@ -30,10 +30,8 @@ public:
|
|||||||
WordLangTuple() {}
|
WordLangTuple() {}
|
||||||
|
|
||||||
WordLangTuple(docstring const & w, Language * l)
|
WordLangTuple(docstring const & w, Language * l)
|
||||||
: word_(w)
|
: word_(w), lang_(l)
|
||||||
{
|
{}
|
||||||
lang_ = l;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// return the word
|
/// return the word
|
||||||
docstring const & word() const {
|
docstring const & word() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user