]> git.lyx.org Git - lyx.git/blobdiff - src/buffer_funcs.h
Partial fix bug 2092: branches not propagated to child documents
[lyx.git] / src / buffer_funcs.h
index aa4b2a7ce0aa5e69a45a37d396e980fd11aed050..4b8758ce33a65711ff309e1982b2c88093c60d50 100644 (file)
@@ -20,7 +20,6 @@
 class Buffer;
 class DocIterator;
 class ErrorList;
-class LyXTextClass;
 class TeXErrors;
 
 /**
@@ -46,8 +45,8 @@ void bufferErrors(Buffer const &, ErrorList const &);
 int countWords(DocIterator const & from, DocIterator const & to);
 
 /// Expand the counters for the labelstring of \c layout
-std::string expandLabel(LyXTextClass const & textclass,
-               LyXLayout_ptr const & layout, bool appendix);
+std::string expandLabel(Buffer const & buf, LyXLayout_ptr const & layout,
+                       bool appendix);
 
 /// updates all counters
 void updateCounters(Buffer const &);