]> git.lyx.org Git - features.git/blobdiff - src/insets/insetlabel.C
Convert labels to unicode
[features.git] / src / insets / insetlabel.C
index 675bb0ace516bb0dd168cc9956d2d0d85cc976c4..8cf00afa7614e2edc6bd6e4a67e88be0239eba85 100644 (file)
@@ -45,9 +45,10 @@ std::auto_ptr<InsetBase> InsetLabel::doClone() const
 }
 
 
-void InsetLabel::getLabelList(Buffer const &, std::vector<string> & list) const
+void InsetLabel::getLabelList(Buffer const &, std::vector<docstring> & list) const
 {
-       list.push_back(getContents());
+       // FIXME UNICODE
+       list.push_back(lyx::from_utf8(getContents()));
 }