mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
compile fix following undo/redo mixup. Sorry again!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22125 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9302bd119f
commit
4752cc8d61
@ -292,7 +292,7 @@ void ConverterCache::add(FileName const & orig_from, string const & to_format,
|
||||
onlyFilename(item->cache_name.absFilename()))) {
|
||||
LYXERR(Debug::FILES, "Could not copy file " << orig_from << " to "
|
||||
<< item->cache_name);
|
||||
} else if (!item->cache_name.changeMode(0600)) {
|
||||
} else if (!item->cache_name.changePermission(0600)) {
|
||||
LYXERR(Debug::FILES, "Could not change file mode"
|
||||
<< item->cache_name);
|
||||
}
|
||||
@ -301,7 +301,7 @@ void ConverterCache::add(FileName const & orig_from, string const & to_format,
|
||||
orig_from.checksum());
|
||||
if (mover.copy(converted_file, new_item.cache_name,
|
||||
onlyFilename(new_item.cache_name.absFilename()))) {
|
||||
if (!new_item.cache_name.changeMode(0600)) {
|
||||
if (!new_item.cache_name.changePermission(0600)) {
|
||||
LYXERR(Debug::FILES, "Could not change file mode"
|
||||
<< new_item.cache_name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user