summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2017-02-20 12:55:19 +0100
committerJan Holesovsky <kendy@collabora.com>2017-02-21 10:17:55 +0100
commitca5277c1ad181c15ce604077e07935b2de946c7c (patch)
tree07e7de70a2c1ea51cd21421c85c60e861fc37a48 /sc
parent0fa4efec2e58ecd8d749972f1e8c2a20d1c3a6bc (diff)
Improve readability.
Change-Id: Ibbbac458e3ef8b3d02f4d73cd8bf3ac880ff0522
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/gridwin4.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 5f0bbb329ffe..4d1121ee92f1 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -808,7 +808,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI
if (bIsTiledRendering)
{
MapMode aNew = aOrig;
- auto aOrigin = aOriginalMode.GetOrigin();
+ Point aOrigin = aOriginalMode.GetOrigin();
aOrigin.setX(aOrigin.getX() / TWIPS_PER_PIXEL + nScrX);
aOrigin.setY(aOrigin.getY() / TWIPS_PER_PIXEL + nScrY);
static const double twipFactor = 15 * 1.76388889; // 26.45833335
@@ -874,7 +874,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI
if (bIsTiledRendering)
{
- auto aOrigin = aOriginalMode.GetOrigin();
+ Point aOrigin = aOriginalMode.GetOrigin();
aOrigin.setX(aOrigin.getX() / TWIPS_PER_PIXEL + aOutputData.nScrX);
aOrigin.setY(aOrigin.getY() / TWIPS_PER_PIXEL + aOutputData.nScrY);
const double twipFactor = 15 * 1.76388889; // 26.45833335
@@ -943,7 +943,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI
Rectangle aBackground(aStart, aEnd);
// Need to draw the background in absolute coords.
- auto aOrigin = aOriginalMode.GetOrigin();
+ Point aOrigin = aOriginalMode.GetOrigin();
aOrigin.setX(aOrigin.getX() / TWIPS_PER_PIXEL + nScreenX);
aOrigin.setY(aOrigin.getY() / TWIPS_PER_PIXEL + nScreenY);
aBackground += aOrigin;
@@ -1007,7 +1007,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI
if (bIsTiledRendering)
{
// Need to draw the background in absolute coords.
- auto aOrigin = aOriginalMode.GetOrigin();
+ Point aOrigin = aOriginalMode.GetOrigin();
aOrigin.setX(aOrigin.getX() / TWIPS_PER_PIXEL + nScrX);
aOrigin.setY(aOrigin.getY() / TWIPS_PER_PIXEL + nScrY);
aBackground += aOrigin;
@@ -1018,7 +1018,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI
if (bIsTiledRendering)
{
- auto aOrigin = aOriginalMode.GetOrigin();
+ Point aOrigin = aOriginalMode.GetOrigin();
aOrigin.setX(aOrigin.getX() / TWIPS_PER_PIXEL + nScrX);
aOrigin.setY(aOrigin.getY() / TWIPS_PER_PIXEL + nScrY);
static const double twipFactor = 15 * 1.76388889; // 26.45833335