Kaydet (Commit) 99160321 authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Miklos Vajna

sc tiled rendering: RefreshZoom() is called already in SetZoom().

Change-Id: I985275e3a1a944dffebe3987dee748f604e065f9
üst 4cf34bf2
...@@ -930,8 +930,8 @@ void ScGridWindow::PaintTile( VirtualDevice& rDevice, ...@@ -930,8 +930,8 @@ void ScGridWindow::PaintTile( VirtualDevice& rDevice,
Fraction aFracX(long(nOutputWidth * TWIPS_PER_PIXEL), nTileWidth); Fraction aFracX(long(nOutputWidth * TWIPS_PER_PIXEL), nTileWidth);
Fraction aFracY(long(nOutputHeight * TWIPS_PER_PIXEL), nTileHeight); Fraction aFracY(long(nOutputHeight * TWIPS_PER_PIXEL), nTileHeight);
// page break zoom
pViewData->SetZoom(aFracX, aFracY, true); pViewData->SetZoom(aFracX, aFracY, true);
pViewData->RefreshZoom();
double fTilePosXPixel = static_cast<double>(nTilePosX) * nOutputWidth / nTileWidth; double fTilePosXPixel = static_cast<double>(nTilePosX) * nOutputWidth / nTileWidth;
double fTilePosYPixel = static_cast<double>(nTilePosY) * nOutputHeight / nTileHeight; double fTilePosYPixel = static_cast<double>(nTilePosY) * nOutputHeight / nTileHeight;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment