summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2016-01-25 08:46:57 +0100
committerAndras Timar <andras.timar@collabora.com>2016-01-25 08:46:57 +0100
commit561580398283b580d225d63594b27d557ac097c9 (patch)
treeac91bc8c50408254681121141466328575e0b2e5 /sc
parent37cb554fb207a8ace162876edae8858258d90d44 (diff)
sc: build fix
Change-Id: I21627d09f772d33b5ca45ae11624387b2bee3c28
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/docuno.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 0dbff7271cf0..891c69dd918b 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();