]> git.lyx.org Git - lyx.git/blobdiff - src/FloatList.C
fix build, thesaurus
[lyx.git] / src / FloatList.C
index 0e2992d2ec90aee3138e83075092dc88f7f75864..0d697910f6eb20e39c57bbcd1ac60ebb4515e7d1 100644 (file)
@@ -67,7 +67,7 @@ string const FloatList::defaultPlacement(string const & t) const
 {
        List::const_iterator cit = list.find(t);
        if (cit != list.end())
-               return (*cit).second.placement();
+               return cit->second.placement();
        return string();
 }
 
@@ -84,7 +84,7 @@ Floating const & FloatList::getType(string const & t) const
        // I wish we could use exceptions
        List::const_iterator cit = list.find(t);
        if (cit != list.end())
-               return (*cit).second;
+               return cit->second;
 #ifdef HAVE_EXCEPTIONS
        throw UnknownFloatType(t);
 #else