diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-26 16:12:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-26 16:12:21 +0000 |
commit | 9d47c89f48c9630a82ee548e18bd75390c40ac9d (patch) | |
tree | 8ca180ad2d86534247a20f307a26ee4843fc0667 /reportdesign/source | |
parent | WaE: remove unused variable (diff) | |
download | core-9d47c89f48c9630a82ee548e18bd75390c40ac9d.tar.gz core-9d47c89f48c9630a82ee548e18bd75390c40ac9d.zip |
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'reportdesign/source')
-rw-r--r-- | reportdesign/source/ui/report/ReportController.cxx | 1 | ||||
-rw-r--r-- | reportdesign/source/ui/report/ViewsWindow.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index 1b8cc3248c42..6259f195f4eb 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -2491,7 +2491,6 @@ void OReportController::openPageDialog(const uno::Reference<report::XSection>& _ const SfxPoolItem* pItem = NULL; if ( SFX_ITEM_SET == pSet->GetItemState( RPTUI_ID_SIZE,sal_True,&pItem)) { - const Size aPaperSize = static_cast<const SvxSizeItem*>(pItem)->GetSize(); uno::Any aValue; static_cast<const SvxSizeItem*>(pItem)->QueryValue(aValue,MID_SIZE_SIZE); xProp->setPropertyValue(PROPERTY_PAPERSIZE,aValue); diff --git a/reportdesign/source/ui/report/ViewsWindow.cxx b/reportdesign/source/ui/report/ViewsWindow.cxx index 0662ed460cac..7fa6b1568043 100644 --- a/reportdesign/source/ui/report/ViewsWindow.cxx +++ b/reportdesign/source/ui/report/ViewsWindow.cxx @@ -1043,7 +1043,6 @@ void OViewsWindow::BegDragObj_createInvisibleObjectAtPosition(const Rectangle& _ rReportSection.getPage()->InsertObject(pNewObj); rView.GetModel()->SetChanged(bChanged); m_aBegDragTempList.push_back(pNewObj); - Rectangle aRect = pNewObj->GetLogicRect(); rView.MarkObj( pNewObj, rView.GetSdrPageView() ); } |