reportdesign: -Werror=unused-but-set-variable

Change-Id: I52784fb331dfdb80c8c9bdb56b9542bca5aaa412
This commit is contained in:
Miklos Vajna
2016-02-22 09:23:46 +01:00
parent f17f977d0a
commit c602f7fdb0

View File

@@ -641,10 +641,6 @@ void ORptExport::exportSectionAutoStyle(const Reference<XSection>& _xProp)
if (x2 - x1 != 0 && y2 - y1 != 0)
{
awt::Size aElementSize = xReportElement->getSize();
if ( xFixedLine.is() && xFixedLine->getOrientation() == 1 ) // vertical
aElementSize.Width = static_cast<sal_Int32>(xFixedLine->getWidth()*0.5);
sal_Int32 nColSpan = x2 - x1;
sal_Int32 nRowSpan = y2 - y1;
aInsert->second[y1].second[x1] =