]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.cpp
Get rid of regex_constants::match_partial
[lyx.git] / src / insets / InsetRef.cpp
index 380a0ea7d2f30ce86c5eb696f8bb390c71a08e20..5ac6b469665bbc0bfd4bf734d8178ebe7e136ee9 100644 (file)
@@ -378,4 +378,9 @@ string const & InsetRef::getName(int type)
 }
 
 
+docstring InsetRef::getTOCString() const 
+{
+       return tooltip_.empty() ? screen_label_ : tooltip_;
+}
+
 } // namespace lyx