[Libreoffice-commits] core.git: sw/source
Pranav Kant
pranavk at collabora.co.uk
Mon Mar 6 11:28:33 UTC 2017
sw/source/uibase/docvw/SidebarWin.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 09b56c34fa6651083c7b2a2973c7ca3986d7a50b
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Fri Mar 3 13:42:50 2017 +0530
sw: Bin unused vector
Change-Id: I948d07c178344b66ea91eddf5771dc65b3ea9d30
diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx
index fa4b435..1cdbeb5 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<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));
More information about the Libreoffice-commits
mailing list