[LyX/master] Move META_INSET declaration to header file

Richard Kimberly Heck rikiheck at lyx.org
Sat Aug 1 05:28:31 UTC 2020


commit 219773dd55dbb6d620526ddf133128e6e95edf27
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Sat Aug 1 01:53:36 2020 -0400

    Move META_INSET declaration to header file
---
 src/Paragraph.cpp |    8 --------
 src/Paragraph.h   |    3 +++
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 390de02..efcd216 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -84,14 +84,6 @@ using namespace lyx::support;
 
 namespace lyx {
 
-namespace {
-
-/// Inset identifier (above 0x10ffff, for ucs-4)
-char_type const META_INSET = 0x200001;
-
-} // namespace
-
-
 /////////////////////////////////////////////////////////////////////
 //
 // SpellResultRange
diff --git a/src/Paragraph.h b/src/Paragraph.h
index fb18352..58b2762 100644
--- a/src/Paragraph.h
+++ b/src/Paragraph.h
@@ -53,6 +53,9 @@ class WordLangTuple;
 class XMLStream;
 class otexstream;
 
+/// Inset identifier (above 0x10ffff, for ucs-4)
+char_type const META_INSET = 0x200001;
+
 class FontSpan {
 public:
 	/// Invalid font span containing no character


More information about the lyx-cvs mailing list