From f4e4fa7eb8d2d8ca6a94b94d544f64d0e5adb164 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 13 Feb 2003 08:12:51 +0000 Subject: [PATCH] rename type_info to avoid strange name clashes on Apple's gcc git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6136 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ref_inset.C | 2 +- src/mathed/ref_inset.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mathed/ref_inset.C b/src/mathed/ref_inset.C index 6edbae0e8d..aad5513748 100644 --- a/src/mathed/ref_inset.C +++ b/src/mathed/ref_inset.C @@ -123,7 +123,7 @@ int RefInset::docbook(std::ostream & os, bool) const } -RefInset::type_info RefInset::types[] = { +RefInset::ref_type_info RefInset::types[] = { { "ref", N_("Standard"), N_("Ref: ")}, { "pageref", N_("Page Number"), N_("Page: ")}, { "vpageref", N_("Textual Page Number"), N_("TextPage: ")}, diff --git a/src/mathed/ref_inset.h b/src/mathed/ref_inset.h index e3c9728e84..656e90ffb6 100644 --- a/src/mathed/ref_inset.h +++ b/src/mathed/ref_inset.h @@ -35,7 +35,7 @@ public: int docbook(std::ostream & os, bool) const; - struct type_info { + struct ref_type_info { /// string latex_name; /// @@ -43,7 +43,7 @@ public: /// string short_gui_name; }; - static type_info types[]; + static ref_type_info types[]; /// static int getType(string const & name); /// -- 2.39.2