]> git.lyx.org Git - lyx.git/blobdiff - src/trans_mgr.C
More fixes to insettabular/text (and some missing features added).
[lyx.git] / src / trans_mgr.C
index 883421062b867d0788cc02defed3a4f9c2137867..6172725245dcb39f7bda7bb84fd0179006d84efd 100644 (file)
@@ -284,9 +284,9 @@ void  TransManager::TranslateAndInsert(char c, LyXText * text)
 
 void TransManager::insertVerbatim(string const & str, LyXText * text)
 {      
-       int const l = str.length();
+       string::size_type const l = str.length();
        
-       for (int i = 0; i < l; ++i){
+       for (string::size_type i = 0; i < l; ++i) {
                if (str[i] == '\"' 
                    && text->GetFont(current_view->buffer(),text->cursor.par(),
                                     text->cursor.pos()).latex() == LyXFont::OFF