+1999-11-03 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/lyxstring.C (compare): pass c_str()
+ (compare): pass c_str
+ (compare): pass c_str
+
1999-11-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/support/DebugStream.C: <config.h> was not included correctly.
{
TestlyxstringInvariant(this);
- return compare(0, rep->sz, str.rep->s, str.rep->sz);
+ return compare(0, rep->sz, str.c_str(), str.rep->sz);
}
{
TestlyxstringInvariant(this);
- return compare(pos, n, str.rep->s, str.rep->sz);
+ return compare(pos, n, str.c_str(), str.rep->sz);
}
{
TestlyxstringInvariant(this);
- return compare(pos, n, str.rep->s + pos2, n2);
+ return compare(pos, n, str.c_str() + pos2, n2);
}