@@ -133,7 +133,7 @@ class Worksheet : public wxScrolled<wxWindow>
133
133
*/
134
134
wxClientDC m_dc;
135
135
// ! Where do we need to start the repainting of the worksheet?
136
- GroupCell * m_redrawStart = NULL ;
136
+ CellPtr< GroupCell> m_redrawStart;
137
137
// ! Do we need to redraw the worksheet?
138
138
bool m_fullRedrawRequested = false ;
139
139
// ! The clipboard format "mathML"
@@ -330,7 +330,7 @@ class Worksheet : public wxScrolled<wxWindow>
330
330
331
331
This pointer is needed for keeping track of cell contents changes.
332
332
*/
333
- GroupCell * TreeUndo_ActiveCell;
333
+ CellPtr< GroupCell> TreeUndo_ActiveCell;
334
334
335
335
// ! Drop actions from the back of the undo list until itis within the undo limit.
336
336
void TreeUndo_LimitUndoBuffer ();
@@ -585,19 +585,19 @@ class Worksheet : public wxScrolled<wxWindow>
585
585
See EditorCell::GetActiveCell() for the position if the cursor that is drawn as a
586
586
vertical line.
587
587
*/
588
- GroupCell * m_hCaretPosition = NULL ;
588
+ CellPtr< GroupCell> m_hCaretPosition;
589
589
/* ! The start for the selection when selecting group with the horizontally drawn cursor
590
590
591
591
This cell does define were the selection was actually started and therefore does not need
592
592
to be above m_hCaretPositionEnd in the worksheet. See also m_cellPointers.m_selectionStart.
593
593
*/
594
- GroupCell * m_hCaretPositionStart = NULL ;
594
+ CellPtr< GroupCell> m_hCaretPositionStart;
595
595
/* ! The end of the selection when selecting group with the horizontally drawn cursor
596
596
597
597
This cell does define where the selection was actually ended and therefore does not need
598
598
to be below m_hCaretPositionEnd in the worksheet. See also m_cellPointers.m_selectionEnd.
599
599
*/
600
- GroupCell * m_hCaretPositionEnd = NULL ;
600
+ CellPtr< GroupCell> m_hCaretPositionEnd;
601
601
bool m_leftDown = false ;
602
602
// ! Do we want to automatically scroll to a cell as soon as it is being evaluated?
603
603
bool m_followEvaluation = true ;
@@ -612,7 +612,7 @@ class Worksheet : public wxScrolled<wxWindow>
612
612
// ! Returns a pointer to the last cell of this worksheet
613
613
GroupCell *GetLastCellInWorksheet () const ;
614
614
int m_clickType = CLICK_TYPE_NONE;
615
- GroupCell * m_clickInGC = NULL ;
615
+ CellPtr< GroupCell> m_clickInGC;
616
616
// ! true = blink the cursor
617
617
bool m_blinkDisplayCaret = true ;
618
618
// ! Is the blinking vertically-drawn cursor currently visible?
@@ -1609,7 +1609,7 @@ class Worksheet : public wxScrolled<wxWindow>
1609
1609
#endif
1610
1610
void UpdateConfigurationClientSize ();
1611
1611
// ! Where to start recalculation. NULL = No recalculation needed.
1612
- GroupCell * m_recalculateStart = NULL ;
1612
+ CellPtr< GroupCell> m_recalculateStart;
1613
1613
// ! The x position of the mouse pointer
1614
1614
int m_pointer_x = -1 ;
1615
1615
// ! The y position of the mouse pointer
0 commit comments