git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40449 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-12-08 23:07:40 +00:00
parent 72cface90f
commit 8a226ec47a

View File

@ -225,6 +225,8 @@ void InsetMathHull::setBuffer(Buffer & buffer)
}
// FIXME This should really be controlled by the TOC level, or
// something of the sort.
namespace {
const char * counters_to_save[] = {"section", "chapter"};
unsigned int const numcnts = sizeof(counters_to_save)/sizeof(char *);