]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.cpp
List currently used shortcuts in the shortcuts panel of the preference dialog
[lyx.git] / src / TextMetrics.cpp
index dc47b425877ecfab87d432657ddfb3a138926fc2..859f43a41dbfc61e5f0d9d5eb1c10584681d303f 100644 (file)
@@ -902,8 +902,8 @@ boost::tuple<int, int> TextMetrics::rowHeight(pit_type const pit, pos_type const
                // some parskips VERY EASY IMPLEMENTATION
                if (bufparams.paragraph_separation
                    == BufferParams::PARSEP_SKIP
-                       && par.ownerCode() != Inset::ERT_CODE
-                       && par.ownerCode() != Inset::LISTINGS_CODE
+                       && par.ownerCode() != ERT_CODE
+                       && par.ownerCode() != LISTINGS_CODE
                        && pit > 0
                        && ((layout->isParagraph() && par.getDepth() == 0)
                            || (pars[pit - 1].layout()->isParagraph()