]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTransforms.C
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / ExternalTransforms.C
index 43b69eece17870fd81558d4d0ef30a87cfc722bb..16d6406881abb38747c5288a0c96f52a121e1794 100644 (file)
 #include <cmath> // std::abs
 #include <sstream>
 
-using lyx::support::float_equal;
-
-using std::string;
-
 
 namespace lyx {
 namespace external {
 
+using support::float_equal;
+using std::string;
+
+
 string const ExtraData::get(string const & id) const
 {
        std::map<string, string>::const_iterator it = data_.find(id);
@@ -318,19 +318,13 @@ string const sanitizeLatexOption(string const & input)
        output = what.str(1);
 
        // Remove any surrounding whitespace
-       output = lyx::support::trim(output);
+       output = support::trim(output);
 
        // If the thing is empty, leave it so, else wrap it in square brackets.
        return output.empty() ? output : "[" + output + "]";
 }
 
 
-string const sanitizeLinuxDocOption(string const & input)
-{
-       return input;
-}
-
-
 namespace {
 
 template <typename Factory, typename Data, typename Transformer>