Backport fix for #7531 to branch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38598 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-05-05 20:41:59 +00:00
parent 5c3aa35c41
commit 6c24213294
2 changed files with 4 additions and 1 deletions

View File

@ -245,7 +245,8 @@ void InsetMathHull::updateBuffer(ParIterator const & it, UpdateType utype)
if (haveNumbers()) { if (haveNumbers()) {
BufferParams const & bp = buffer_->params(); BufferParams const & bp = buffer_->params();
string const & lang = it->getParLanguage(bp)->code(); string const & lang = it->getParLanguage(bp)->code();
Counters & cnts = bp.documentClass().counters(); Counters & cnts =
buffer_->masterBuffer()->params().documentClass().counters();
// right now, we only need to do this at export time // right now, we only need to do this at export time
if (utype == OutputUpdate) { if (utype == OutputUpdate) {

View File

@ -31,6 +31,8 @@ What's new
* USER INTERFACE * USER INTERFACE
- Equation numbering in child documents now works properly (bug 7531).
- Updated Japanese User Interface Localization. - Updated Japanese User Interface Localization.