diff options
-rw-r--r-- | starmath/inc/caret.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/inc/caret.hxx b/starmath/inc/caret.hxx index f435617748a3..2b951b46e409 100644 --- a/starmath/inc/caret.hxx +++ b/starmath/inc/caret.hxx @@ -116,9 +116,6 @@ struct SmCaretPosGraphEntry{ } }; -/** Define SmCaretPosGraph to be less than one page 4096 */ -#define SmCaretPosGraphSize 255 - class SmCaretPosGraph; /** Iterator for SmCaretPosGraph */ @@ -178,6 +175,9 @@ public: } friend class SmCaretPosGraphIterator; private: + /** Define SmCaretPosGraph to be less than one page 4096 */ + static const int SmCaretPosGraphSize = 255; + /** Next graph, to be used when this graph is full */ SmCaretPosGraph* pNext; /** Next free entry in graph */ |