Author: rgheck
Date: Thu May  5 17:15:55 2011
New Revision: 38590
URL: http://www.lyx.org/trac/changeset/38590

Log:
Fix bug #7525: We need to make sure we have an up to date list of macros
before we try to resolve them.

Modified:
   lyx-devel/trunk/src/Buffer.cpp

Modified: lyx-devel/trunk/src/Buffer.cpp
==============================================================================
--- lyx-devel/trunk/src/Buffer.cpp      Thu May  5 11:52:25 2011        (r38589)
+++ lyx-devel/trunk/src/Buffer.cpp      Thu May  5 17:15:55 2011        (r38590)
@@ -3523,6 +3523,7 @@
                                   formats.extension(backend_format));
 
        // fix macros
+       updateMacros();
        updateMacroInstances();
 
        // Plain text backend

Reply via email to