sw: Bin unused vector

Change-Id: I948d07c178344b66ea91eddf5771dc65b3ea9d30
This commit is contained in:
Pranav Kant 2017-03-03 13:42:50 +05:30
parent 866d4db725
commit 09b56c34fa

View File

@ -924,12 +924,9 @@ void SwSidebarWin::SetPosAndSize()
EditWin().EnableMapMode();
SwRects* pRects(pTmpCursorForAnnotationTextRange.get());
std::vector<OString> aRects;
for(SwRect & rNextRect : *pRects)
{
aRects.push_back(rNextRect.SVRect().toString());
const Rectangle aPntRect(rNextRect.SVRect());
maAnnotationTextRanges.push_back(basegfx::B2DRange(
aPntRect.Left(), aPntRect.Top(),
aPntRect.Right() + 1, aPntRect.Bottom() + 1));