summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-07-04 21:05:13 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-07-04 21:05:25 +0200
commit4aa157e1259f925f4572331a1f9a95f5234a319e (patch)
treed7f1392924a801e39f7c0a56bfda4aa25c92d9c4 /vcl/generic
parent8c95c0e71aa6c006de8a7a706dd17a22366ed4c7 (diff)
fix typo in coverity#704538-9
Change-Id: If4868ad8190fcb1a64ae6fc18791d7a266d1b1e9
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/print/bitmap_gfx.cxx2
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();
}