summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-03-03 13:42:50 +0530
committerPranav Kant <pranavk@collabora.co.uk>2017-03-06 16:57:54 +0530
commit09b56c34fa6651083c7b2a2973c7ca3986d7a50b (patch)
treeb818070ce1f2cde69b4eaf4fb04c601039463c43 /sw/source/uibase
parent866d4db725c836b1bd714d0ffcbc4a788cfe4f9d (diff)
sw: Bin unused vector
Change-Id: I948d07c178344b66ea91eddf5771dc65b3ea9d30
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/docvw/SidebarWin.cxx3
1 files changed, 0 insertions, 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<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));