[Libreoffice-commits] core.git: Branch 'feature/tiledrendering' - include/touch

Tor Lillqvist tml at collabora.com
Thu Oct 31 12:12:09 CET 2013


 include/touch/touch.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 59cc423a3056a0253a24244373f79d94ffe6ff20
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Oct 31 13:11:40 2013 +0200

    Fix copypasta
    
    Change-Id: Ib5e7162426ab08a1912a19d4e3a00c794e4fb80e

diff --git a/include/touch/touch.h b/include/touch/touch.h
index f0cdabe..6601a05 100644
--- a/include/touch/touch.h
+++ b/include/touch/touch.h
@@ -120,8 +120,8 @@ CGSizeToMLOPixelSize(CGSize cgSize)
 CG_INLINE CGSize
 MLOPixelsToCGSize(MLOPixel width, MLOPixel height)
 {
-    CGFloat fWidth = CGFloatToMLOPixel(width);
-    CGFloat fHeight = CGFloatToMLOPixel(height);
+    CGFloat fWidth = MLOPixelToCGFloat(width);
+    CGFloat fHeight = MLOPixelToCGFloat(height);
     return CGSizeMake(fWidth, fHeight);
 }
 


More information about the Libreoffice-commits mailing list