diff options
Diffstat (limited to 'svtools/source/brwbox/brwbox1.cxx')
-rw-r--r-- | svtools/source/brwbox/brwbox1.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx index 0fbca4c5d3b8..91e29cfd9efe 100644 --- a/svtools/source/brwbox/brwbox1.cxx +++ b/svtools/source/brwbox/brwbox1.cxx @@ -1149,6 +1149,13 @@ void BrowseBox::Clear() DoHideCursor( "Clear" ); long nOldRowCount = nRowCount; nRowCount = 0; + if(bMultiSelection) + { + assert(uRow.pSel); + *uRow.pSel = MultiSelection(); + } + else + uRow.nSel = BROWSER_ENDOFSELECTION; nCurRow = BROWSER_ENDOFSELECTION; nTopRow = 0; nCurColId = 0; |