summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-02-19 10:31:20 +0200
committerTor Lillqvist <tml@iki.fi>2013-02-19 10:31:20 +0200
commit6475609e882c16c7536bbfa502e2f8341abfea6e (patch)
tree91570f823805f20982a5dbbf8eb90e092b504ed9 /svtools
parenteee2fe2e7efe1476d363bfb36b09d7e0d4042438 (diff)
WaE: implicit conversion from 'double' to 'long' changes value from 0.5 to 0
Change-Id: Ib927d2f59e8b37fbddf3d3ccc78b3986e28b7b29
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/graphic/grfmgr2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx
index 365a8b18ada9..fd8679e8a8c4 100644
--- a/svtools/source/graphic/grfmgr2.cxx
+++ b/svtools/source/graphic/grfmgr2.cxx
@@ -306,7 +306,7 @@ sal_Bool ImplCreateRotatedScaled( const BitmapEx& rBmpEx, const GraphicAttr& rAt
for ( x = 0; x < aUnrotatedWidth ; x++)
{
pMapIX[x] = 0;
- pMapFX[x] = 0.5;
+ pMapFX[x] = 0;
}
scaleByAveraging = true;
}
@@ -344,7 +344,7 @@ sal_Bool ImplCreateRotatedScaled( const BitmapEx& rBmpEx, const GraphicAttr& rAt
for (y = 0; y < aUnrotatedHeight; ++y)
{
pMapIY[y] = 0;
- pMapFY[y] = 0.5;
+ pMapFY[y] = 0;
}
scaleByAveraging = true;
}