diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-07-04 21:05:13 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-07-04 21:05:25 +0200 |
commit | 4aa157e1259f925f4572331a1f9a95f5234a319e (patch) | |
tree | d7f1392924a801e39f7c0a56bfda4aa25c92d9c4 /vcl/generic | |
parent | 8c95c0e71aa6c006de8a7a706dd17a22366ed4c7 (diff) |
fix typo in coverity#704538-9
Change-Id: If4868ad8190fcb1a64ae6fc18791d7a266d1b1e9
Diffstat (limited to 'vcl/generic')
-rw-r--r-- | vcl/generic/print/bitmap_gfx.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/generic/print/bitmap_gfx.cxx b/vcl/generic/print/bitmap_gfx.cxx index 9ee5677a2c84..9a6d7e873927 100644 --- a/vcl/generic/print/bitmap_gfx.cxx +++ b/vcl/generic/print/bitmap_gfx.cxx @@ -416,7 +416,7 @@ PrinterGfx::DrawBitmap (const Rectangle& rDest, const Rectangle& rSrc, { fScaleX = (double)rDest.GetWidth() / (double)rSrc.GetWidth(); } - if(rSrc.GetHeigth() > 0) + if(rSrc.GetHeight() > 0) { fScaleY = (double)rDest.GetHeight() / (double)rSrc.GetHeight(); } |