As noted by Andre.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23518 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-03-06 19:59:05 +00:00
parent 56dec68703
commit e7d3e98546

View File

@ -232,7 +232,7 @@ LayoutFileIndex
} }
} }
// If .layout is not in local directory, or an invalid layout is found, return null // If .layout is not in local directory, or an invalid layout is found, return null
return string(""); return string();
} }
@ -241,7 +241,7 @@ LayoutFileIndex defaultBaseclass()
if (BaseClassList::get().haveClass("article")) if (BaseClassList::get().haveClass("article"))
return string("article"); return string("article");
if (BaseClassList::get().empty()) if (BaseClassList::get().empty())
return string(""); return string();
return BaseClassList::get().classList().front(); return BaseClassList::get().classList().front();
} }