]> git.lyx.org Git - lyx.git/blobdiff - src/Length.cpp
I'll find a solution for the 'dirList problem', Abdel.
[lyx.git] / src / Length.cpp
index 49f1d633c4a16dea90fdabcebcba06df261a4779..cc457365701cbe0e27024d878847fcd04fa243c9 100644 (file)
@@ -59,6 +59,13 @@ Length::Length(string const & data)
 }
 
 
+void Length::swap(Length & rhs)
+{
+       std::swap(val_, rhs.val_);
+       std::swap(unit_, rhs.unit_);
+}
+
+
 string const Length::asString() const
 {
        ostringstream os;