go from 'experienced user' right to 'hacker' level...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4492 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-06-26 19:07:34 +00:00
parent 4bc59f2101
commit 2b2b6f6162
2 changed files with 13 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2002-06-26 André Pönitz <poenitz@gmx.net>
* filetools.[Ch]: small whitespace, more compact 'return' statement
2002-06-19 John Levon <moz@compsoc.man.ac.uk>
* lyxalgo.h: add eliminate_duplicates

View File

@ -131,10 +131,7 @@ string const QuoteName(string const & name)
bool IsFileReadable(string const & path)
{
FileInfo file(path);
if (file.isOK() && file.isRegular() && file.readable())
return true;
else
return false;
return file.isOK() && file.isRegular() && file.readable();
}
@ -178,7 +175,8 @@ bool IsDirWriteable (string const & path)
string const FileOpenSearch(string const & path, string const & name,
string const & ext)
{
string real_file, path_element;
string real_file;
string path_element;
bool notfound = true;
string tmppath = split(path, path_element, ';');