]> git.lyx.org Git - features.git/commitdiff
Fix bug #7444. We are only interested in whether the dimension has been stored in...
authorVincent van Ravesteijn <vfr@lyx.org>
Fri, 15 Apr 2011 10:54:52 +0000 (10:54 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Fri, 15 Apr 2011 10:54:52 +0000 (10:54 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38403 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/MathMacro.cpp

index bc0171234361611499fbf624279839ff506dcab0..3d5b8fec62dc897fc588c2b7ff25bfbdf821d575 100644 (file)
@@ -261,7 +261,7 @@ void MathMacro::metrics(MetricsInfo & mi, Dimension & dim) const
                // otherwise do a manual metrics call
                CoordCache & coords = mi.base.bv->coordCache();
                for (idx_type i = 0; i < nargs(); ++i) {
-                       if (!coords.getArrays().has(&cell(i))) {
+                       if (!coords.getArrays().hasDim(&cell(i))) {
                                Dimension tdim;
                                cell(i).metrics(mi, tdim);
                        }