]> git.lyx.org Git - lyx.git/blobdiff - src/exporter.C
fix crash after removing a table row (again due to uncorrected cursor
[lyx.git] / src / exporter.C
index 23ada4a7891c4a9813aa52e6c2252b10f983008d..bf270b5ba7be84af449f5d8b83e1ee1fdf92ec42 100644 (file)
@@ -86,14 +86,14 @@ enum CopyStatus {
 
 /** copy file \p sourceFile to \p destFile. If \p force is false, the user
  *  will be asked before existing files are overwritten.
- *  \return 
+ *  \return
  *  - SUCCESS if this file got copied
  *  - FORCE   if subsequent calls should not ask for confirmation before
  *            overwriting files anymore.
  *  - CANCEL  if the export should be cancelled
  */
 CopyStatus copyFile(string const & sourceFile, string const & destFile,
-                   bool force)
+                   bool force)
 {
        CopyStatus ret = force ? FORCE : SUCCESS;
 
@@ -281,8 +281,8 @@ bool operator==(ExportedFile const & f1, ExportedFile const & f2)
 
 
 void ExportData::addExternalFile(string const & format,
-                                 string const & sourceName,
-                                 string const & exportName)
+                                string const & sourceName,
+                                string const & exportName)
 {
        BOOST_ASSERT(lyx::support::AbsolutePath(sourceName));
 
@@ -296,7 +296,7 @@ void ExportData::addExternalFile(string const & format,
 
 
 void ExportData::addExternalFile(string const & format,
-                                 string const & sourceName)
+                                string const & sourceName)
 {
        addExternalFile(format, sourceName, OnlyFilename(sourceName));
 }