From: Allan Rae Date: Tue, 2 Apr 2002 02:45:23 +0000 (+0000) Subject: let this code work with lyxstring also X-Git-Tag: 1.6.10~19526 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1bcc13c757f60d6e73e15c302e1c1843799888b1;p=features.git let this code work with lyxstring also git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3876 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index f3ab830a4c..5ec79f8e32 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,6 @@ +2002-04-02 Allan Rae + + * math_cursor.C (info): make it work with lyxstring and std::string 2002-03-12 André Pönitz diff --git a/src/mathed/math_cursor.C b/src/mathed/math_cursor.C index 57b58e7dd1..3a17efa565 100644 --- a/src/mathed/math_cursor.C +++ b/src/mathed/math_cursor.C @@ -1598,5 +1598,5 @@ string MathCursor::info() const ostringstream os; if (pos() > 0) prevAtom()->infoize(os); - return os.str(); + return os.str().c_str(); // .c_str() needed for lyxstring }