sw: Bin unused vector
Change-Id: I948d07c178344b66ea91eddf5771dc65b3ea9d30
This commit is contained in:
@@ -924,12 +924,9 @@ void SwSidebarWin::SetPosAndSize()
|
|||||||
EditWin().EnableMapMode();
|
EditWin().EnableMapMode();
|
||||||
|
|
||||||
SwRects* pRects(pTmpCursorForAnnotationTextRange.get());
|
SwRects* pRects(pTmpCursorForAnnotationTextRange.get());
|
||||||
std::vector<OString> aRects;
|
|
||||||
for(SwRect & rNextRect : *pRects)
|
for(SwRect & rNextRect : *pRects)
|
||||||
{
|
{
|
||||||
aRects.push_back(rNextRect.SVRect().toString());
|
|
||||||
const Rectangle aPntRect(rNextRect.SVRect());
|
const Rectangle aPntRect(rNextRect.SVRect());
|
||||||
|
|
||||||
maAnnotationTextRanges.push_back(basegfx::B2DRange(
|
maAnnotationTextRanges.push_back(basegfx::B2DRange(
|
||||||
aPntRect.Left(), aPntRect.Top(),
|
aPntRect.Left(), aPntRect.Top(),
|
||||||
aPntRect.Right() + 1, aPntRect.Bottom() + 1));
|
aPntRect.Right() + 1, aPntRect.Bottom() + 1));
|
||||||
|
Reference in New Issue
Block a user