[Libreoffice-commits] .: sw/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Jan 30 13:00:40 PST 2011
sw/source/ui/dbui/mmaddressblockpage.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit d53588650c10edc3601edc1487bc95ca252d6a11
Author: Andy Holder <andy.m.holder at gmail.com>
Date: Sat Jan 29 17:37:53 2011 +0000
cppcheck: remove unused variable
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx
index 528a349..617cc14 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.cxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.cxx
@@ -1067,8 +1067,6 @@ SwAssignFieldsControl::SwAssignFieldsControl(
m_aPreviews.push_back(pNewPreview);
}
ListBox* pBottomBox = m_aMatches[rHeaders.Count() -1];
- long nYBottom = pBottomBox->GetPosPixel().Y();
- nYBottom += pBottomBox->GetDropDownPosSizePixel().GetHeight();
m_aVScroll.SetRange(Range(0, rHeaders.Count()));
m_aVScroll.SetPageSize((aOutputSize.Height() - nHBHeight - m_nLBStartTopPos)/ m_nYOffset);
m_aVScroll.EnableDrag();
More information about the Libreoffice-commits
mailing list