]> git.lyx.org Git - features.git/blobdiff - src/text.C
* LyXView: the accessor methods now return a reference to the member
[features.git] / src / text.C
index 74349c6dcb0f5d8f1a36b2acdf0272f5ef38dbc3..ec90880c5801eaf1ad6d0d60efc005a8ef7d7c3a 100644 (file)
@@ -28,6 +28,7 @@
 #include "language.h"
 #include "ParagraphParameters.h"
 #include "undo_funcs.h"
+#include "WordLangTuple.h"
 
 #include "insets/insetbib.h"
 #include "insets/insettext.h"
@@ -2393,8 +2394,8 @@ bool LyXText::selectWordWhenUnderCursor(BufferView * bview,
 
 // This function is only used by the spellchecker for NextWord().
 // It doesn't handle LYX_ACCENTs and probably never will.
-WordLangTuple LyXText::selectNextWordToSpellcheck(BufferView * bview,
-                                                float & value) const
+WordLangTuple const
+LyXText::selectNextWordToSpellcheck(BufferView * bview, float & value) const
 {
        if (the_locking_inset) {
                WordLangTuple word = the_locking_inset->selectNextWordToSpellcheck(bview, value);