sc/source/ui/unoobj/docuno.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 561580398283b580d225d63594b27d557ac097c9 Author: Andras Timar <andras.ti...@collabora.com> Date: Mon Jan 25 08:46:57 2016 +0100 sc: build fix Change-Id: I21627d09f772d33b5ca45ae11624387b2bee3c28 diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 0dbff72..891c69d 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -629,8 +629,8 @@ void ScModelObj::setTextSelection(int nType, int nX, int nY) ScDrawView* pDrawView = pViewData->GetScDrawView(); // update the aLogicMode in ScViewData to something predictable - pViewData->SetZoom(Fraction(mnTilePixelWidth * TWIPS_PER_PIXEL, mnTileTwipWidth), - Fraction(mnTilePixelHeight * TWIPS_PER_PIXEL, mnTileTwipHeight), true); + pViewData->SetZoom(Fraction(nTilePixelWidth * TWIPS_PER_PIXEL, nTileTwipWidth), + Fraction(nTilePixelHeight * TWIPS_PER_PIXEL, nTileTwipHeight), true); bool bHandled = false; @@ -786,8 +786,8 @@ void ScModelObj::setGraphicSelection(int nType, int nX, int nY) ScGridWindow* pGridWindow = pViewData->GetActiveWin(); // update the aLogicMode in ScViewData to something predictable - pViewData->SetZoom(Fraction(mnTilePixelWidth * TWIPS_PER_PIXEL, mnTileTwipWidth), - Fraction(mnTilePixelHeight * TWIPS_PER_PIXEL, mnTileTwipHeight), true); + pViewData->SetZoom(Fraction(nTilePixelWidth * TWIPS_PER_PIXEL, nTileTwipWidth), + Fraction(nTilePixelHeight * TWIPS_PER_PIXEL, nTileTwipHeight), true); int nPixelX = nX * pViewData->GetPPTX(); int nPixelY = nY * pViewData->GetPPTY(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits