* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
- * Copyright 1995-1999 The LyX Team.
+ * Copyright 1995-2000 The LyX Team.
*
* ====================================================== */
#include <config.h>
#endif
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
#include "LSubstring.h"
LSubstring & LSubstring::operator=(LSubstring const & s)
{
- ps->replace(pos, n, string(s, 0, string::npos));
+ ps->replace(pos, n, s);
return *this;
}