Related: fdo#67461 consider hierarchical view
Related: fdo#67461 consider hierarchical view

check for pTreeBox in the show/hide cases.

assume pTreeBox means single-select hierarchical mode
(select a few things in list mode, then switch to
hierarchical view, it doesn't make sense then to
care what is selected in the hidden list view)

Change-Id: I8ee08e578e66e14d8dea6cd7a66c1dbbbedcd6d1

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core