[Libreoffice-commits] .: reportdesign/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed Jan 26 12:12:26 PST 2011


 reportdesign/source/ui/report/ReportController.cxx |    1 -
 reportdesign/source/ui/report/ViewsWindow.cxx      |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit 67e031ea1933a566b4c9bd3d5f2947a7fffdea24
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Jan 26 16:12:21 2011 +0000

    WaE: gcc 4.6.0 various warnings

diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx
index 0c4f5e0..6ebc2de 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 4855626..d4ccfeb 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() );
             }


More information about the Libreoffice-commits mailing list