diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-04-13 20:06:26 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-04-13 21:10:30 +0200 |
commit | 73be7d0a7bff557e71534ba45cef9205cfa44520 (patch) | |
tree | d5e6d35558ae2806f2154bded1bdf36a5b39b408 | |
parent | put "unused" function into the right #ifdef (diff) | |
download | core-73be7d0a7bff557e71534ba45cef9205cfa44520.tar.gz core-73be7d0a7bff557e71534ba45cef9205cfa44520.zip |
remove unused variables
-rw-r--r-- | sd/source/core/sdpage.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/animations/CustomAnimationCreateDialog.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/dlg/headerfooterdlg.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/func/fucon3d.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/func/fuconarc.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/func/fuconuno.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx | 13 | ||||
-rw-r--r-- | sd/source/ui/toolpanel/TitleBar.cxx | 3 |
8 files changed, 0 insertions, 25 deletions
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx index 268a7ea0d78f..76e84f9d8536 100644 --- a/sd/source/core/sdpage.cxx +++ b/sd/source/core/sdpage.cxx @@ -1193,7 +1193,6 @@ static void CalcAutoLayoutRectangles( SdPage& rPage, int nLayout, Rectangle* rRe for( i = 1; i < MAX_PRESOBJS; i++ ) rRectangle[i] = aLayoutRect; - Size aTitleSize( aTitleRect.GetSize() ); Point aTitlePos( aTitleRect.TopLeft() ); Size aLayoutSize( aLayoutRect.GetSize() ); Point aLayoutPos( aLayoutRect.TopLeft() ); diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx index 76f3b5a76238..ced683a2ee3d 100644 --- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx @@ -678,7 +678,6 @@ void CustomAnimationCreateDialog::setPosition() { Point aPos( GetPosPixel()); Size aSize( GetSizePixel()); - Point aParentPos( pParent->GetPosPixel()); Size aParentSize( pParent->GetSizePixel()); // right center diff --git a/sd/source/ui/dlg/headerfooterdlg.cxx b/sd/source/ui/dlg/headerfooterdlg.cxx index 0fa1c7e6c675..183f29753717 100644 --- a/sd/source/ui/dlg/headerfooterdlg.cxx +++ b/sd/source/ui/dlg/headerfooterdlg.cxx @@ -891,9 +891,6 @@ void PresLayoutPreview::Paint( const Rectangle& ) { Push(); - svtools::ColorConfig aColorConfig; - svtools::ColorConfigValue aColor( aColorConfig.GetColorValue( svtools::APPBACKGROUND ) ); - maOutRect = Rectangle( Point(0,0), GetOutputSize() ); // calculate page size with correct aspect ratio diff --git a/sd/source/ui/func/fucon3d.cxx b/sd/source/ui/func/fucon3d.cxx index d136d336d526..dc5a70cef9c1 100644 --- a/sd/source/ui/func/fucon3d.cxx +++ b/sd/source/ui/func/fucon3d.cxx @@ -380,7 +380,6 @@ sal_Bool FuConstruct3dObject::MouseButtonUp(const MouseEvent& rMEvt) if ( mpView->IsCreateObj() && rMEvt.IsLeft() ) { - Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); mpView->EndCreateObj(SDRCREATE_FORCEEND); bReturn = sal_True; } diff --git a/sd/source/ui/func/fuconarc.cxx b/sd/source/ui/func/fuconarc.cxx index 1c02bf2b0204..a4ead37e5b59 100644 --- a/sd/source/ui/func/fuconarc.cxx +++ b/sd/source/ui/func/fuconarc.cxx @@ -173,8 +173,6 @@ sal_Bool FuConstructArc::MouseButtonUp( const MouseEvent& rMEvt ) if ( mpView->IsCreateObj() && rMEvt.IsLeft() ) { - Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); - sal_uLong nCount = mpView->GetSdrPageView()->GetObjList()->GetObjCount(); if (mpView->EndCreateObj(SDRCREATE_NEXTPOINT) ) diff --git a/sd/source/ui/func/fuconuno.cxx b/sd/source/ui/func/fuconuno.cxx index 32db518a3c7d..8bdfd8c483c9 100644 --- a/sd/source/ui/func/fuconuno.cxx +++ b/sd/source/ui/func/fuconuno.cxx @@ -139,7 +139,6 @@ sal_Bool FuConstructUnoControl::MouseButtonUp(const MouseEvent& rMEvt) if ( mpView->IsCreateObj() && rMEvt.IsLeft() ) { - Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); mpView->EndCreateObj(SDRCREATE_FORCEEND); bReturn = sal_True; } diff --git a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx index 838b39fd4449..165ff8ff49b0 100644 --- a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx +++ b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx @@ -199,19 +199,6 @@ void InsertionIndicatorHandler::SetPosition ( maIconSize, mrSlideSorter.GetModel())); - static sal_Int32 TargetIndex (1); - if (aInsertPosition.GetIndex() == TargetIndex) - { - const view::InsertPosition aPosition (rLayouter.GetInsertPosition( - rPoint, - maIconSize, - mrSlideSorter.GetModel())); - const view::InsertPosition aPosition2 (rLayouter.GetInsertPosition( - rPoint, - maIconSize, - mrSlideSorter.GetModel())); - } - if (maInsertPosition != aInsertPosition || meMode != eMode // || ! mpInsertionIndicatorOverlay->IsVisible() diff --git a/sd/source/ui/toolpanel/TitleBar.cxx b/sd/source/ui/toolpanel/TitleBar.cxx index e25539d60b71..a122cafa2f1b 100644 --- a/sd/source/ui/toolpanel/TitleBar.cxx +++ b/sd/source/ui/toolpanel/TitleBar.cxx @@ -384,9 +384,6 @@ sal_uInt16 TitleBar::GetTextStyle (void) void TitleBar::PaintBackground (const Rectangle& rTitleBarBox) { // Fill a slightly rounded rectangle. - Color aFillColor (GetFillColor()); - Color aLineColor (GetLineColor()); - switch (meType) { case TBT_SUB_CONTROL_HEADLINE: |