]> git.lyx.org Git - features.git/blobdiff - src/insets/insettoc.C
Baruch's graphics patch + some small tweaks to the buttoncontroller stuff
[features.git] / src / insets / insettoc.C
index 32d9560d6b9b54e2399b5a994e81794f4688224b..d78ef8f37b8999dc1db3f926e3f3cc03c4e5ce0b 100644 (file)
@@ -14,7 +14,7 @@
 
 using std::vector;
 
-string const InsetTOC::getScreenLabel() const 
+string const InsetTOC::getScreenLabel(Buffer const *) const 
 {
        string const cmdname(getCmdName());
        
@@ -47,7 +47,7 @@ void InsetTOC::edit(BufferView * bv, bool)
 
 int InsetTOC::ascii(Buffer const * buffer, std::ostream & os, int) const
 {
-       os << getScreenLabel() << "\n\n";
+       os << getScreenLabel(buffer) << "\n\n";
 
        string type;
        string const cmdname = getCmdName();