X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayoutFile.h;h=e911aa5a6b41f2ece4a7d9a97b147194bb7958d1;hb=b6aed54c45cf4a479cfd11e3e6851194f5a05947;hp=1632cda117320df5d86ac904778e1caad686a6d4;hpb=9c55af4a223ce4db29d643251109e245665344bd;p=lyx.git diff --git a/src/LayoutFile.h b/src/LayoutFile.h index 1632cda117..e911aa5a6b 100644 --- a/src/LayoutFile.h +++ b/src/LayoutFile.h @@ -118,8 +118,9 @@ public: /// add a textclass from user local directory. /// \return the identifier for the loaded file, or else an /// empty string if no file was loaded. - LayoutFileIndex - addLocalLayout(std::string const & textclass, std::string const & path); + LayoutFileIndex addLocalLayout(std::string const & textclass, + std::string const & path, + std::string const & oldpath = empty_string()); /// a list of the available classes std::vector classList() const;