From: Abdelrazak Younes Date: Thu, 13 Dec 2007 10:59:31 +0000 (+0000) Subject: compile fix following undo/redo mixup. Sorry again! X-Git-Tag: 1.6.10~6940 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4752cc8d61d32993484ff2ae2263be1f09aa2763;p=features.git 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 --- diff --git a/src/ConverterCache.cpp b/src/ConverterCache.cpp index 96efb0ffb0..d1d16c058c 100644 --- a/src/ConverterCache.cpp +++ b/src/ConverterCache.cpp @@ -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); }