diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-02-18 21:55:47 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-02-18 21:57:45 +0100 |
commit | 995494ec27a5815f8d85974c1ba525f4b4b4250b (patch) | |
tree | d2461c52ac89808e4c6172be5ca5d5c66081ffcc /svtools | |
parent | 6ce04df28c8b5d6043340efe6fdc229b51dd8c36 (diff) |
ImplCreateRotatedScaled: fix wrong usage of 'x' instead of 'y'
introduced with c4a084e6b87e7c6cdf4a2574070b0523206bbefe
Change-Id: I75de86db107c8ddcae55903f23cf907c3280c9f5
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/graphic/grfmgr2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx index dea3afb3ff1d..365a8b18ada9 100644 --- a/svtools/source/graphic/grfmgr2.cxx +++ b/svtools/source/graphic/grfmgr2.cxx @@ -341,7 +341,7 @@ sal_Bool ImplCreateRotatedScaled( const BitmapEx& rBmpEx, const GraphicAttr& rAt if(aBitmapHeight == 1) { fRevScaleY = 1.0 / (double)( aUnrotatedHeight); - for ( y = 0; x < aUnrotatedHeight ; y++) + for (y = 0; y < aUnrotatedHeight; ++y) { pMapIY[y] = 0; pMapFY[y] = 0.5; |