]> git.lyx.org Git - features.git/commitdiff
Fix #10894 compiler warnings.
authorRichard Heck <rgheck@lyx.org>
Sat, 16 Dec 2017 05:59:07 +0000 (00:59 -0500)
committerRichard Heck <rgheck@lyx.org>
Sat, 16 Dec 2017 05:59:07 +0000 (00:59 -0500)
src/insets/InsetCitation.cpp

index 83777969b51eb0967b10359029e66fa57e6ff0a8..236dda2316ddb3fe08084c050e59874b66b4fc14 100644 (file)
@@ -253,8 +253,8 @@ docstring InsetCitation::toolTip(BufferView const & bv, int, int) const
        docstring tip;
        tip += "<ol>";
        int count = 0;
-       for (docstring const & key : keys) {
-               docstring const key_info = bi.getInfo(key, buffer(), ci);
+       for (docstring const & kit : keys) {
+               docstring const key_info = bi.getInfo(kit, buffer(), ci);
                // limit to reasonable size.
                if (count > 9 && keys.size() > 11) {
                        tip.push_back(0x2026);// HORIZONTAL ELLIPSIS