]> git.lyx.org Git - features.git/commitdiff
compile fix following undo/redo mixup. Sorry again!
authorAbdelrazak Younes <younes@lyx.org>
Thu, 13 Dec 2007 10:59:31 +0000 (10:59 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 13 Dec 2007 10:59:31 +0000 (10:59 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22125 a592a061-630c-0410-9148-cb99ea01b6c8

src/ConverterCache.cpp

index 96efb0ffb01a5ce9d95530ad5bcae50537cdeba5..d1d16c058c66db81336cbb8cbc952fe870cad8aa 100644 (file)
@@ -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);
                        }