]> git.lyx.org Git - features.git/blobdiff - src/frontends/xforms/Toolbar_pimpl.C
small changes read changelog
[features.git] / src / frontends / xforms / Toolbar_pimpl.C
index 4657f45b8ef98eab3c4162368fbc3be741176695..fee4d5e1826dd70e09842be0c30381e3a440953a 100644 (file)
@@ -237,10 +237,10 @@ void Toolbar::Pimpl::updateLayoutList(bool force)
                LyXTextClass::const_iterator end = tc.end();
                for (LyXTextClass::const_iterator cit = tc.begin();
                     cit != end; ++cit) {
-                       if ((*cit).obsoleted_by().empty())
-                               combox->addline(_((*cit).name()));
+                       if (cit->obsoleted_by().empty())
+                               combox->addline(_(cit->name()));
                        else
-                               combox->addline("@N" + _((*cit).name()));
+                               combox->addline("@N" + _(cit->name()));
                }
        }
        // we need to do this.