]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.cpp
Remove hardcoded values
[lyx.git] / src / TocBackend.cpp
index 2bbdab3c12252620c5a4ab96c4e3aa560b520e2c..2b13d1febfa8d37de5a673ed6d41be971abe4345 100644 (file)
@@ -49,8 +49,8 @@ namespace lyx {
 ///////////////////////////////////////////////////////////////////////////
 
 TocItem::TocItem(DocIterator const & dit, int d, docstring const & s,
-                 bool output_active, docstring const & t, FuncRequest action)
-       : dit_(dit), depth_(d), str_(s), tooltip_(t), output_(output_active),
+                 bool output_active, FuncRequest action)
+       : dit_(dit), depth_(d), str_(s), output_(output_active),
          action_(action)
 {
 }
@@ -62,12 +62,6 @@ int TocItem::id() const
 }
 
 
-docstring const & TocItem::tooltip() const
-{
-       return tooltip_.empty() ? str_ : tooltip_;
-}
-
-
 docstring const TocItem::asString() const
 {
        static char_type const cross = 0x2716; // ✖ U+2716 HEAVY MULTIPLICATION X