]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlabel.C
use the new sstream return non-pods as const, use string instead of char * in a lot...
[lyx.git] / src / insets / insetlabel.C
index 2aa37e0efd93af30483e363bef8fd790a429d5cf..666c41a3be0b6e41b9a71452e852189f142f3ced 100644 (file)
@@ -33,7 +33,7 @@ InsetLabel::InsetLabel(InsetCommandParams const & p)
 {}
 
 
-vector<string> InsetLabel::getLabelList() const
+vector<string> const InsetLabel::getLabelList() const
 {
        return vector<string>(1,getContents());
 }
@@ -96,7 +96,7 @@ int InsetLabel::DocBook(Buffer const *, ostream & os) const
 
 // This function escapes 8-bit characters and other problematic characters
 // It's exactly the same code as in insetref.C.
-string InsetLabel::escape(string const & lab) const {
+string const InsetLabel::escape(string const & lab) const {
        char hexdigit[16] = { '0', '1', '2', '3', '4', '5', '6', '7',
                              '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
        string enc;