From 4164f547b2296417e510fce5c8a0eb6284b06cd5 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 13 Dec 2007 11:25:45 +0000 Subject: [PATCH] Compil fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22127 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/FileName.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp index 119b51a70d..779e4082f0 100644 --- a/src/support/FileName.cpp +++ b/src/support/FileName.cpp @@ -158,7 +158,7 @@ bool FileName::changePermission(unsigned long int mode) const } #if defined (HAVE_CHMOD) && defined (HAVE_MODE_T) - if (::chmod(file.toFilesystemEncoding().c_str(), mode_t(mode)) != 0) { + if (::chmod(toFilesystemEncoding().c_str(), mode_t(mode)) != 0) { LYXERR0("File " << *this << ": cannot change permission to " << mode << "."); return false; -- 2.39.5