]> git.lyx.org Git - lyx.git/blobdiff - src/trans_mgr.C
Alfredo's second patch
[lyx.git] / src / trans_mgr.C
index 13561a04ffc52c361d41a6345c78bc6609be7f20..4ea10090b07e4d40e01f721f651040c9d13c67c2 100644 (file)
@@ -255,7 +255,7 @@ void TransManager::insertVerbatim(string const & str, LyXText * text)
        string::size_type const l = str.length();
 
        for (string::size_type i = 0; i < l; ++i) {
-               text->insertChar(current_view, str[i]);
+               text->insertChar(str[i]);
        }
 }
 
@@ -274,7 +274,7 @@ void TransManager::insert(string const & str, LyXText * text)
                // Could not find an encoding
                InsetLatexAccent ins(str);
                if (ins.canDisplay()) {
-                       text->insertInset(current_view,
+                       text->insertInset(
                                          new InsetLatexAccent(ins));
                } else {
                        insertVerbatim(str, text);