]> git.lyx.org Git - features.git/commitdiff
Remove commented out code.
authorRichard Heck <rgheck@comcast.net>
Sun, 6 Jan 2008 17:23:19 +0000 (17:23 +0000)
committerRichard Heck <rgheck@comcast.net>
Sun, 6 Jan 2008 17:23:19 +0000 (17:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22402 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferParams.cpp
src/BufferParams.h

index f84a9792854b99b826e4a2de46a066770c2cabe7..bc316e24f43558535c094f87b01da8a96392d0a8 100644 (file)
@@ -1438,17 +1438,6 @@ bool BufferParams::addLayoutModule(string modName) {
        return true;
 }
 
-/* This is not currently used but may prove useful
-bool BufferParams::addLayoutModules(vector<string>modNames)
-{
-       bool retval = true;
-       vector<string>::const_iterator it = modNames.begin();
-       vector<string>::const_iterator end = modNames.end();
-       for (; it != end; ++it)
-               retval &= addLayoutModule(*it);
-       return retval;
-}
-*/
 
 void BufferParams::clearLayoutModules() {
        layoutModules_.clear();
index 862a07aed2eadf18f660b5d2e2e1f81f54fa6a7e..5dc05b3c38cbd2a58d270b47b6a491cfde429ea4 100644 (file)
@@ -134,10 +134,6 @@ public:
        /// the BufferParams do not represent the parameters for an actual buffer
        /// (as in GuiDocument).
        bool addLayoutModule(std::string modName);
-       // Add a list of modules.
-       // Returns true if all modules were successfully added.
-       // Currently unused.
-       // bool addLayoutModules(std::vector<std::string>modNames);
        /// Clear the list
        void clearLayoutModules();