diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/drawdoc4.cxx | 3 | ||||
-rw-r--r-- | sd/source/core/sdpage.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/dlg/docprev.cxx | 7 | ||||
-rw-r--r-- | sd/source/ui/view/drviews5.cxx | 3 |
4 files changed, 0 insertions, 16 deletions
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx index f605b647a968..72109415af6d 100644 --- a/sd/source/core/drawdoc4.cxx +++ b/sd/source/core/drawdoc4.cxx @@ -543,9 +543,6 @@ void SdDrawDocument::CreateDefaultCellStyles() Color aNullCol(COL_BLACK); - XGradient aNullGrad(aNullCol,COL_WHITE); - aNullGrad.SetStartIntens( 100 ); - aNullGrad.SetEndIntens( 100 ); XHatch aNullHatch(aNullCol); rISet.Put(XFillStyleItem(drawing::FillStyle_SOLID)); diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx index eed4fa28256c..472814b48f9a 100644 --- a/sd/source/core/sdpage.cxx +++ b/sd/source/core/sdpage.cxx @@ -1856,15 +1856,12 @@ void SdPage::ScaleObjects(const Size& rNewPageSize, const ::tools::Rectangle& rN nLower = GetLowerBorder(); } - Point aBackgroundPos(nLeft, nUpper); Size aBackgroundSize(aNewPageSize); - ::tools::Rectangle aBorderRect (aBackgroundPos, aBackgroundSize); if (mbScaleObjects) { aBackgroundSize.AdjustWidth( -(nLeft + nRight) ); aBackgroundSize.AdjustHeight( -(nUpper + nLower) ); - aBorderRect.SetSize(aBackgroundSize); aNewPageSize = aBackgroundSize; } diff --git a/sd/source/ui/dlg/docprev.cxx b/sd/source/ui/dlg/docprev.cxx index 1c69894cf011..f0a5a89209ec 100644 --- a/sd/source/ui/dlg/docprev.cxx +++ b/sd/source/ui/dlg/docprev.cxx @@ -111,13 +111,6 @@ void SdDocPreviewWin::CalcSizeAndPos( Size& rSize, Point& rPoint ) void SdDocPreviewWin::ImpPaint( OutputDevice* pVDev ) { - Point aPoint; - Size aSize = pVDev->GetOutputSize(); - Point bPoint(aSize.Width()-2*FRAME, aSize.Height()-2*FRAME ); - CalcSizeAndPos( aSize, aPoint ); - bPoint -= aPoint; - aPoint += Point( FRAME, FRAME ); - svtools::ColorConfig aColorConfig; pVDev->SetLineColor(); diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx index 8da3406fb7f5..54fa8b8dc2f5 100644 --- a/sd/source/ui/view/drviews5.cxx +++ b/sd/source/ui/view/drviews5.cxx @@ -105,9 +105,6 @@ void DrawViewShell::ArrangeGUIElements() int nScrollBarSize = GetParentWindow()->GetSettings().GetStyleSettings().GetScrollBarSize(); maScrBarWH = Size (nScrollBarSize, nScrollBarSize); - Point aHPos = maViewPos; - aHPos.AdjustY(maViewSize.Height() ); - ViewShell::ArrangeGUIElements (); maTabControl->Hide(); |