fix an analysis error with the outline view
Merge pull request #2337 from devoncarew/devoncarew_fix_outline

fix an analysis error with the outline view