diff options
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/cellsh.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/printfun.cxx | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx index 3d21cd96d3c3..4f6bbb937ce4 100644 --- a/sc/source/ui/view/cellsh.cxx +++ b/sc/source/ui/view/cellsh.cxx @@ -1189,7 +1189,7 @@ void ScCellShell::GetState(SfxItemSet &rSet) case FID_DEFINE_CURRENT_NAME: { - ScAddress aCurrentAddress = ScAddress( nPosX, nPosY, nTab ); + ScAddress aCurrentAddress( nPosX, nPosY, nTab ); if ( pDoc && !pDoc->IsAddressInRangeName( RangeNameScope::GLOBAL, aCurrentAddress ) && diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index dce120c95779..74826da1aa37 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -5674,8 +5674,8 @@ bool ScGridWindow::InsideVisibleRange( SCCOL nPosX, SCROW nPosY ) OString ScGridWindow::getCellCursor( int nOutputWidth, int nOutputHeight, long nTileWidth, long nTileHeight ) { - Fraction zoomX = Fraction(long(nOutputWidth * TWIPS_PER_PIXEL), nTileWidth); - Fraction zoomY = Fraction(long(nOutputHeight * TWIPS_PER_PIXEL), nTileHeight); + Fraction zoomX(long(nOutputWidth * TWIPS_PER_PIXEL), nTileWidth); + Fraction zoomY(long(nOutputHeight * TWIPS_PER_PIXEL), nTileHeight); return getCellCursor(zoomX, zoomY); } diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index 663ce00737ca..5e1280cbd98f 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -666,7 +666,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI MapMode aCurrentMapMode(pContentDev->GetMapMode()); pContentDev->SetMapMode(MapMode(MapUnit::MapPixel)); - tools::Rectangle aPixRect = tools::Rectangle( Point(), GetOutputSizePixel() ); + tools::Rectangle aPixRect( Point(), GetOutputSizePixel() ); pContentDev->SetFillColor( rColorCfg.GetColorValue(svtools::APPBACKGROUND).nColor ); pContentDev->SetLineColor(); if ( nX2==MAXCOL ) diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index 15664211f0ff..b2ca243b63e5 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -1975,7 +1975,7 @@ long ScPrintFunc::PrintNotes( long nPageNo, long nNoteStart, bool bDoPrint, ScPr // adjust aPageRect for left/right page - tools::Rectangle aTempRect = tools::Rectangle( Point(), aPageSize ); + tools::Rectangle aTempRect( Point(), aPageSize ); if (IsMirror(nPageNo)) { aPageRect.SetLeft( ( aTempRect.Left() + nRightMargin ) * 100 / nZoom ); @@ -2044,7 +2044,7 @@ void ScPrintFunc::PrintPage( long nPageNo, SCCOL nX1, SCROW nY1, SCCOL nX2, SCRO // adjust aPageRect for left/right page - tools::Rectangle aTempRect = tools::Rectangle( Point(), aPageSize ); + tools::Rectangle aTempRect( Point(), aPageSize ); if (IsMirror(nPageNo)) { aPageRect.SetLeft( ( aTempRect.Left() + nRightMargin ) * 100 / nZoom ); |