From 1bcc13c757f60d6e73e15c302e1c1843799888b1 Mon Sep 17 00:00:00 2001 From: Allan Rae Date: Tue, 2 Apr 2002 02:45:23 +0000 Subject: [PATCH] let this code work with lyxstring also git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3876 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 3 +++ src/mathed/math_cursor.C | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 } -- 2.39.2