]> git.lyx.org Git - features.git/blobdiff - src/frontends/xforms/XFormsMenubar.C
tostr -> convert and some bformat work
[features.git] / src / frontends / xforms / XFormsMenubar.C
index 31aaac9475bef07ca9aed992bc8029d9fccbe71b..c6ea81a5ce1246973720794298f30691ce6409a0 100644 (file)
@@ -308,7 +308,7 @@ int XFormsMenubar::create_submenu(Window win, XFormsView * view,
                                                       *item.submenu(), smn, funcs);
                                if (submenuid == -1)
                                        return -1;
-                               label += "%x" + tostr(smn.size());
+                               label += "%x" + convert<string>(smn.size());
                                lyxerr[Debug::GUI]
                                        << "Menu: " << submenuid
                                        << " (at index " << smn.size()
@@ -320,7 +320,7 @@ int XFormsMenubar::create_submenu(Window win, XFormsView * view,
                                int const action_count =
                                        distance(funcs.begin(), fit);
 
-                               label += "%x" + tostr(action_count + action_offset);
+                               label += "%x" + convert<string>(action_count + action_offset);
                                lyxerr[Debug::GUI] << "Action: \""
                                                   << item.func().action
                                                   << "(" << item.func().argument