From cd5d57e504728f7862dc93650cb4c51ea747a7e7 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Wed, 10 Mar 2010 16:56:13 +0000 Subject: [PATCH] Do not use const char *. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33696 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathHull.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 62a28ec4c9..7f4897c8e3 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -313,18 +313,18 @@ int InsetMathHull::defaultColSpace(col_type col) docstring InsetMathHull::standardFont() const { - const char *font_name; + docstring font_name; switch (type_) { case hullRegexp: - font_name = "texttt"; + font_name = from_ascii("texttt"); break; case hullNone: - font_name = "lyxnochange"; + font_name = from_ascii("lyxnochange"); break; default: - font_name = "mathnormal"; + font_name = from_ascii("mathnormal"); } - return from_ascii(font_name); + return font_name; } -- 2.39.2