123979: method <SwCursor::IsSelOvr(..)> - treat application of new position due to content frame without height to next/previous content frame as restore to saved position, if new position equals the saved one.

This avoid cursor traveling loops due to hidden content at the beginning/end of the text document.
124361: Avoid MSVC warning 4555 while including list.