diff options
-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() ); } |