]> git.lyx.org Git - lyx.git/blobdiff - src/CoordCache.h
GuiLyXFiles: Hide empty categories on filtering (#12584)
[lyx.git] / src / CoordCache.h
index b99cbe6ddd1d5ccb674d8b896a901efba766bbcf..f26b6b22dd523791b9c73536f4488356d2649653 100644 (file)
@@ -80,13 +80,13 @@ public:
 
        Geometry & geometry(T const * thing)
        {
-               check(thing, "geometry");
+               checkDim(thing, "geometry");
                return data_.find(thing)->second;
        }
 
        Geometry const & geometry(T const * thing) const
        {
-               check(thing, "geometry");
+               checkDim(thing, "geometry");
                return data_.find(thing)->second;
        }