]> git.lyx.org Git - lyx.git/blobdiff - src/LColor.C
tostr -> convert and some bformat work
[lyx.git] / src / LColor.C
index 1642e4f6c35cd2f270f45792c7c4069997569467..b2f1ba545fb5cc54cacea464eac6d175d36df273 100644 (file)
@@ -160,10 +160,10 @@ LColor::~LColor()
 {}
 
 
-void LColor::operator=(LColor const & c)
+LColor & LColor::operator=(LColor tmp)
 {
-       LColor tmp(c);
        boost::swap(pimpl_, tmp.pimpl_);
+       return *this;
 }