diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index e409dff8f0..8af927ade3 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -2403,11 +2403,13 @@ string BufferParams::bufferFormat() const bool BufferParams::isExportable(string const & format) const { - vector backs = backends(); - for (vector::const_iterator it = backs.begin(); - it != backs.end(); ++it) - if (theConverters().isReachable(*it, format)) + FormatList const & formats = exportableFormats(false); + FormatList::const_iterator fit = formats.begin(); + FormatList::const_iterator end = formats.end(); + for (; fit != end ; ++fit) { + if ((*fit)->name() == format) return true; + } return false; }