small things

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3052 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-11-20 15:32:11 +00:00
parent c84131951f
commit 10f697abbe
3 changed files with 5 additions and 5 deletions

View File

@ -97,9 +97,6 @@ to make it into 0.14:
- version.sty
- cvs
- sccs
o I am sure mathed improvements. (Alejandro's department)
- better macro support
- better amsmath support
o character styles (similar to emph and noun)
Will make a lot of small things conceptual instead of
specific. Will be alot easier to change the

View File

@ -336,7 +336,7 @@ Menuset
Separator
Item "About LyX|X" "help-aboutlyx"
Separator
Item "TeX Infos" "help-Texinfo"
Item "TeX Information" "help-Texinfo"
End
End

View File

@ -69,7 +69,10 @@ namespace {
string const sortEntries(string & str_in)
{
std::vector<string> dbase = getVectorFromString(str_in,"\n");
std::sort(dbase.begin(), dbase.end()); // sort entries
std::sort(dbase.begin(), dbase.end()); // sort entries
std::vector<string>::iterator p =
std::unique(dbase.begin(), dbase.end()); // compact
dbase.erase(p, dbase.end()); // shrink
return getStringFromVector(dbase,"\n");
}