diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-07-12 20:50:29 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-12 20:50:29 +0200 |
commit | 765c7ddf2d883c25ca7e59928ff4ee091a6abb3c (patch) | |
tree | 3ea45c12ace1fb4278e9020aadd64f46de979254 /sfx2 | |
parent | 28d2bb72939494cd65986e6d454a74a612e6ad50 (diff) |
warning C4305: truncation from 'double' to 'float'
Change-Id: I27110c810b1d4d3dd3541625eff861be3e058ef6
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/templatefolderviewitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/templatefolderviewitem.cxx b/sfx2/source/control/templatefolderviewitem.cxx index 8e9e381f84f9..d996c9801753 100644 --- a/sfx2/source/control/templatefolderviewitem.cxx +++ b/sfx2/source/control/templatefolderviewitem.cxx @@ -68,8 +68,8 @@ void TemplateFolderViewItem::Paint (drawinglayer::processor2d::BaseProcessor2D * if (!maPreview2.IsEmpty()) { - fScaleX = 0.8; - fScaleY = 0.8; + fScaleX = 0.8f; + fScaleY = 0.8f; aSeq[nCount++] = Primitive2DReference( new FillBitmapPrimitive2D( createScaleTranslateB2DHomMatrix(fScaleX,fScaleY,aPos.X(),aPos.Y()), |