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 | 67e031ea1933a566b4c9bd3d5f2947a7fffdea24 (patch) | |
tree | 54d7f0d932afd31a3a757e0d784757a5b4484d98 | |
parent | 15bf2bd0556ee71a8a8b08e75ec956fade49a502 (diff) |
WaE: gcc 4.6.0 various warningsLO-BASE-INTEGRATION-DEV300_m98
-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 0c4f5e0e9..6ebc2deba 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 4855626cd..d4ccfeb06 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() ); } |