X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetlabel.C;h=666c41a3be0b6e41b9a71452e852189f142f3ced;hb=45a03f4f67bb00f8142e465c615f348f0622eb32;hp=2aa37e0efd93af30483e363bef8fd790a429d5cf;hpb=c00fe603385b4275c039c9bb35c2b241db93d021;p=lyx.git diff --git a/src/insets/insetlabel.C b/src/insets/insetlabel.C index 2aa37e0efd..666c41a3be 100644 --- a/src/insets/insetlabel.C +++ b/src/insets/insetlabel.C @@ -33,7 +33,7 @@ InsetLabel::InsetLabel(InsetCommandParams const & p) {} -vector InsetLabel::getLabelList() const +vector const InsetLabel::getLabelList() const { return vector(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;