From 8b3b64780f231d0a6d88ba62c9b6b095af6b40e9 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Thu, 24 Jan 2002 15:49:53 +0000 Subject: [PATCH] Remove const qualifier from bool return type. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3431 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ChangeLog | 5 +++++ src/frontends/controllers/ControlInclude.C | 2 +- src/frontends/controllers/ControlInclude.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/frontends/controllers/ChangeLog b/src/frontends/controllers/ChangeLog index f105fbea13..eae869b5c2 100644 --- a/src/frontends/controllers/ChangeLog +++ b/src/frontends/controllers/ChangeLog @@ -1,3 +1,8 @@ +2002-01-24 Angus Leeming + + * ControlInclude.[Ch] (fileExists): remove const type qualifier from + bool return type. + 2002-01-20 Herbert Voss * ControlInclude.[Ch]: better control of unexistings files diff --git a/src/frontends/controllers/ControlInclude.C b/src/frontends/controllers/ControlInclude.C index ea92ebed1c..cd326cba9e 100644 --- a/src/frontends/controllers/ControlInclude.C +++ b/src/frontends/controllers/ControlInclude.C @@ -83,7 +83,7 @@ void ControlInclude::load(string const & file) } -bool const ControlInclude::fileExists(string const & file) +bool ControlInclude::fileExists(string const & file) { string const fileWithAbsPath = MakeAbsPath(file, OnlyPath(params().masterFilename_)); if (IsFileReadable(fileWithAbsPath)) diff --git a/src/frontends/controllers/ControlInclude.h b/src/frontends/controllers/ControlInclude.h index 566f35f4cd..1fbac04c2c 100644 --- a/src/frontends/controllers/ControlInclude.h +++ b/src/frontends/controllers/ControlInclude.h @@ -44,7 +44,7 @@ public: void load(string const & file); /// test if file exist - bool const fileExists(string const & file); + bool fileExists(string const & file); private: /// Dispatch the changed parameters to the kernel. -- 2.39.2