From 09b56c34fa6651083c7b2a2973c7ca3986d7a50b Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Fri, 3 Mar 2017 13:42:50 +0530 Subject: [PATCH] sw: Bin unused vector Change-Id: I948d07c178344b66ea91eddf5771dc65b3ea9d30 --- sw/source/uibase/docvw/SidebarWin.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx index fa4b43548a7f..1cdbeb50b1ab 100644 --- a/sw/source/uibase/docvw/SidebarWin.cxx +++ b/sw/source/uibase/docvw/SidebarWin.cxx @@ -924,12 +924,9 @@ void SwSidebarWin::SetPosAndSize() EditWin().EnableMapMode(); SwRects* pRects(pTmpCursorForAnnotationTextRange.get()); - std::vector 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));