]> git.lyx.org Git - features.git/commitdiff
Minor fixes, in response to Lar's email
authorBo Peng <bpeng@lyx.org>
Fri, 25 May 2007 01:02:38 +0000 (01:02 +0000)
committerBo Peng <bpeng@lyx.org>
Fri, 25 May 2007 01:02:38 +0000 (01:02 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18504 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetListingsParams.cpp
src/insets/InsetListingsParams.h

index b3171e497e7e7b73a82560e0db4047f6d4de0816..2a43111a1c0555324a6e41a71be1f4eff0cf233c 100644 (file)
@@ -496,7 +496,7 @@ void InsetListingsParams::read(Lexer & lex)
 }
 
 
-string InsetListingsParams::params(string sep) const
+string InsetListingsParams::params(string const & sep) const
 {
        string par;
        for (map<string, string>::const_iterator it = params_.begin();
index 221d0aa6cd80ea2b07376fe69f6b7e785ec7cd82..452f363fcd06852b1b5fd5392f9fbda63641ad04 100644 (file)
@@ -35,7 +35,7 @@ public:
        void read(Lexer &);
 
        /// valid parameter string
-       std::string params(std::string sep=",") const;
+       std::string params(std::string const & sep=",") const;
        
        /// add key=value to params_
        void addParam(std::string const & key, std::string const & value);