]> git.lyx.org Git - features.git/blobdiff - src/frontends/xforms/FormFiledialog.C
tostr -> convert and some bformat work
[features.git] / src / frontends / xforms / FormFiledialog.C
index cd54ca947c3aeb837b39e08c9a4604496d4ad4d3..d2e8bd601ae23f11f37834a26b9e2c4feb5bdb6a 100644 (file)
@@ -166,7 +166,7 @@ private:
 void UserCache::add(uid_t ID) const
 {
        struct passwd const * entry = getpwuid(ID);
-       users[ID] = entry ? entry->pw_name : tostr(int(ID));
+       users[ID] = entry ? entry->pw_name : convert<string>(int(ID));
 }
 
 
@@ -199,9 +199,10 @@ string const & GroupCache::find(gid_t ID) const
 void GroupCache::add(gid_t ID) const
 {
        struct group const * entry = getgrgid(ID);
-       groups[ID] = entry ? entry->gr_name : tostr(int(ID));
+       groups[ID] = entry ? entry->gr_name : convert<string>(int(ID));
 }
 
+
 // local instances
 UserCache lyxUserCache;
 GroupCache lyxGroupCache;