tdf#152029 Don't include frame area top margin in the bring table to

attention overlay

Change-Id: I13b8c09640dfc269330a3786b6449139f5f64661
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157131
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index 8b77b9c..44a6413 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -5700,7 +5700,7 @@ void SwContentTree::BringEntryToAttention(const weld::TreeIter& rEntry)
                    {
                        SwTable* pTable = SwTable::FindTable(pFrameFormat);
                        if (pTable)
                            BringTypesWithFlowFramesToAttention({pTable->GetTableNode()});
                            BringTypesWithFlowFramesToAttention({pTable->GetTableNode()}, false);
                    }
            }
            else if (nType == ContentTypeId::FRAME || nType == ContentTypeId::GRAPHIC ||
@@ -5804,7 +5804,7 @@ void SwContentTree::BringEntryToAttention(const weld::TreeIter& rEntry)
                                aNodesArr.push_back(pTable->GetTableNode());
                        }
                }
                BringTypesWithFlowFramesToAttention(aNodesArr);
                BringTypesWithFlowFramesToAttention(aNodesArr, false);
            }
            else if (nType == ContentTypeId::FRAME || nType == ContentTypeId::GRAPHIC ||
                     nType == ContentTypeId::OLE)
@@ -6033,7 +6033,8 @@ void SwContentTree::BringBookmarksToAttention(const std::vector<OUString>& rName
}

void SwContentTree::BringTypesWithFlowFramesToAttention(const std::vector<const SwNode*>& rNodes,
                                                        const bool bIncludeTopMargin){
                                                        const bool bIncludeTopMargin)
{
    std::vector<basegfx::B2DRange> aRanges;
    for (const auto* pNode : rNodes)
    {