anchordocking: restoretest: draw windows

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@39733 4005530d-fff6-0310-9dd1-cebe43e6787f
codetools: ignore then without else, else without if/case

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@39734 4005530d-fff6-0310-9dd1-cebe43e6787f