// Don't use this function without defaultType, use the one above.
nlassert(defaultType.size()!=0);
if(sheetName.rfind('.')==std::string::npos)
{
{
std::stringwithType=sheetName+"."+defaultType;
std::stringwithType=sheetName+"."+defaultType;
*this=CSheetId(withType);
*this=CSheetId(withType);
// nldebug("SHEETID: Constructing CSheetId from name '%s' without explicit type, defaulting as '%s' to '%s'", sheetName.c_str(), defaultType.c_str(), withType.c_str());
// nldebug("SHEETID: Constructing CSheetId from name '%s' without explicit type, defaulting as '%s' to '%s'", sheetName.c_str(), defaultType.c_str(), withType.c_str());