]> git.lyx.org Git - lyx.git/blobdiff - src/chset.C
add missing writeNormal() methods to some insets
[lyx.git] / src / chset.C
index a6ac394b4be33c1a47b4d3ad55709251fe9b2acd..a2a716191581d08b0d7ac35a9507985e274690be 100644 (file)
@@ -70,7 +70,7 @@ pair<bool, int> const CharacterSet::encodeString(string const & str) const
        Cdef::const_iterator cit = map_.find(str);
        if (cit != map_.end()) {
                ret =  true;
-               val = (*cit).second;
+               val = cit->second;
        }
        lyxerr[Debug::KBMAP] << "   "
                             << (ret ? "yes we" : "no we don't")