]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcite.C
fix compilation pb ; update eu.po
[lyx.git] / src / insets / insetcite.C
index fa2777fa9761f689f677a56217f4f51b6e86a36a..7f70ba44d41b98a300ba052f2d375d7f2dff938b 100644 (file)
@@ -34,13 +34,13 @@ string const InsetCitation::getScreenLabel() const
                // Final comma allows while loop to cover all keys
                keys = frontStrip(split(keys, label, ',')) + ",";
 
-               size_t const maxSize = 40;
+               string::size_type const maxSize = 40;
                while (contains( keys, "," )) {
                        string key;
                        keys = frontStrip(split(keys, key, ','));
 
-                       size_t size = label.size() + 2 + key.size();
-                       if( size >= maxSize ) {
+                       string::size_type size = label.size() + 2 + key.size();
+                       if (size >= maxSize) {
                                label += ", ...";
                                break;
                        }
@@ -53,7 +53,7 @@ string const InsetCitation::getScreenLabel() const
        if (!getOptions().empty())
                label += ", " + getOptions();
 
-       return '[' + label + ']';
+       return "[" + label + "]";
 }