summaryrefslogtreecommitdiff
path: root/sw
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-23 20:29:20 +0530
commit7a01976d04390e29457153148648756849d667b9 (patch)
tree103c305318e06f14aa881505de723378e429ca8f /sw
parentf5ccb5d646dc50e3639d54044e50f8a974825e90 (diff)
sw: Bin unused vector
Change-Id: I948d07c178344b66ea91eddf5771dc65b3ea9d30 (cherry picked from commit 09b56c34fa6651083c7b2a2973c7ca3986d7a50b)
Diffstat (limited to 'sw')
-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 85fc5e56d315..5538be92f7f3 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));