]> git.lyx.org Git - lyx.git/commitdiff
Fix bug #7525: We need to make sure we have an up to date list of macros
authorRichard Heck <rgheck@comcast.net>
Thu, 5 May 2011 15:15:55 +0000 (15:15 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 5 May 2011 15:15:55 +0000 (15:15 +0000)
before we try to resolve them.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38590 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp

index 9b3e7c77b3a8168bb78c6d98241d0259dfcfaffc..615f2b02078752632c7197085933d158cee99df5 100644 (file)
@@ -3523,6 +3523,7 @@ bool Buffer::doExport(string const & format, bool put_in_tempdir,
                                   formats.extension(backend_format));
 
        // fix macros
+       updateMacros();
        updateMacroInstances();
 
        // Plain text backend