summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/treelist/svimpbox.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx
index d72de8763981..7d9bfbcfefb3 100644
--- a/vcl/source/treelist/svimpbox.cxx
+++ b/vcl/source/treelist/svimpbox.cxx
@@ -83,6 +83,7 @@ SvImpLBox::SvImpLBox( SvTreeListBox* pLBView, SvTreeList* pLBTree, WinBits nWinS
m_pStartEntry = nullptr;
m_pCursor = nullptr;
+ m_pCursorOld = nullptr;
m_pAnchor = nullptr;
m_nVisibleCount = 0; // number of rows of data in control
m_nNodeBmpTabDistance = NODE_BMP_TABDIST_NOTVALID;
@@ -245,6 +246,7 @@ void SvImpLBox::Clear()
m_pView->HideFocus();
m_pCursor = nullptr;
}
+ m_pCursorOld = nullptr;
m_aVerSBar->Hide();
m_aVerSBar->SetThumbPos( 0 );
Range aRange( 0, 0 );