]> git.lyx.org Git - lyx.git/blobdiff - src/Exporter.cpp
* do not lookup the same macro all the time
[lyx.git] / src / Exporter.cpp
index f8bd191af8cdf9e2c1a2db9fd3683f00916e9ad9..3678fa1013dbab1a52881d9be1f735e084f035d0 100644 (file)
@@ -28,7 +28,7 @@
 #include "Mover.h"
 #include "output_plaintext.h"
 #include "OutputParams.h"
-#include "frontends/Alert.h"
+#include "frontends/alert.h"
 
 #include "support/filetools.h"
 #include "support/lyxlib.h"
@@ -63,7 +63,7 @@ namespace {
 vector<string> const Backends(Buffer const & buffer)
 {
        vector<string> v;
-       if (buffer.params().getLyXTextClass().isTeXClassAvailable()) {
+       if (buffer.params().getTextClass().isTeXClassAvailable()) {
                v.push_back(bufferFormat(buffer));
                // FIXME: Don't hardcode format names here, but use a flag
                if (v.back() == "latex")