]> git.lyx.org Git - lyx.git/blobdiff - src/converter.C
Remove unused font variable which caused a warning.
[lyx.git] / src / converter.C
index e07402318ffb754d038b3452d73c5b2bbe788f25..aa3fbe8d6b06fff52655c32ac1a1638e456591d2 100644 (file)
@@ -699,7 +699,7 @@ bool Converters::Move(string const & from, string const & to, bool copy)
             it != files.end(); ++it)
                if (prefixIs(*it, base)) {
                        string from2 = path + *it;
-                       string to2 = to_base + (*it).substr(base.length());
+                       string to2 = to_base + it->substr(base.length());
                        to2 = ChangeExtension(to2, to_extension);
                        lyxerr[Debug::FILES] << "moving " << from2 
                                             << " to " << to2 << endl;