Searched refs:new_name2 (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/
H A Did-clash.cpp377 Glib::ustring new_name2 = id; //will not fail as id can not be NULL, see length check on new_name local
379 if (!isalnum (new_name2[0])) {
394 new_name2 += '-';
396 new_name2 += "0123456789"[std::rand() % 10];
397 if (current_doc->getObjectById(new_name2) == NULL)
403 elem->getRepr()->setAttribute("id", new_name2);

Completed in 84 milliseconds