#124453# merge from aoo410 branch, check if the resulting polygon has already exceeded the number of points (2^16) that can be handled by a tools polygon

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1582688 13f79535-47bb-0310-9956-ffa450edef68