]> git.lyx.org Git - lyx.git/blobdiff - src/Converter.cpp
remove most traces of boost::regex
[lyx.git] / src / Converter.cpp
index 59604d312740f3f368ffdc8a7ddf686d4a2275fb..747dd88ada8e5824d29ced4da4a50e1d938c6a1c 100644 (file)
@@ -13,7 +13,6 @@
 #include "Converter.h"
 
 #include "Buffer.h"
-#include "buffer_funcs.h"
 #include "BufferParams.h"
 #include "ConverterCache.h"
 #include "Encoding.h"
@@ -260,7 +259,7 @@ void Converters::updateLast(Formats const & formats)
 
 
 OutputParams::FLAVOR Converters::getFlavor(Graph::EdgePath const & path,
-                                          Buffer const * buffer)
+                                          Buffer const * buffer) const
 {
        for (auto const & edge : path) {
                Converter const & conv = converterlist_[edge];
@@ -284,7 +283,7 @@ OutputParams::FLAVOR Converters::getFlavor(Graph::EdgePath const & path,
 }
 
 
-string Converters::getHyperrefDriver(Graph::EdgePath const & path)
+string Converters::getHyperrefDriver(Graph::EdgePath const & path) const
 {
        for (auto const & edge : path) {
                Converter const & conv = converterlist_[edge];
@@ -819,7 +818,7 @@ bool Converters::move(string const & fmt,
 }
 
 
-bool Converters::formatIsUsed(string const & format)
+bool Converters::formatIsUsed(string const & format) const
 {
        for (auto const & cvt : converterlist_) {
                if (cvt.from() == format || cvt.to() == format)