summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-13 22:25:09 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-13 23:17:38 +0300
commitcbae2baa412437b624a1f01671ec16d9fdc358bb (patch)
tree5fa3d298d43e4ca5fd23b99db8508f7f3e09dbe3 /ios
parente9f260b38076ce56f131914cfb5ece242eb1225c (diff)
Reduce logging
Change-Id: I195a6a38f7cc597e6365ffd7f3e0432c73447e1a
Diffstat (limited to 'ios')
-rw-r--r--ios/experimental/LibreOffice/LibreOffice/View.m14
1 files changed, 7 insertions, 7 deletions
diff --git a/ios/experimental/LibreOffice/LibreOffice/View.m b/ios/experimental/LibreOffice/LibreOffice/View.m
index baab0a6d29d0..3cd332b1f514 100644
--- a/ios/experimental/LibreOffice/LibreOffice/View.m
+++ b/ios/experimental/LibreOffice/LibreOffice/View.m
@@ -14,8 +14,8 @@
- (void)drawRect:(CGRect)rect
{
- NSLog(@"drawRect: %dx%d@(%d,%d)", (int) rect.size.width, (int) rect.size.height, (int) rect.origin.x, (int) rect.origin.y);
- NSLog(@"statusBarOrientation: %ld", (long)[[UIApplication sharedApplication] statusBarOrientation]);
+ // NSLog(@"drawRect: %dx%d@(%d,%d)", (int) rect.size.width, (int) rect.size.height, (int) rect.origin.x, (int) rect.origin.y);
+ // NSLog(@"statusBarOrientation: %ld", (long)[[UIApplication sharedApplication] statusBarOrientation]);
// NSDate *startDate = [NSDate date];
@@ -51,13 +51,13 @@
if ([gestureRecognizer state] == UIGestureRecognizerStateEnded) {
CGPoint location = [gestureRecognizer locationInView: self];
- NSLog(@"tapGesture: at: (%d,%d)", (int)location.x, (int)location.y);
+ // NSLog(@"tapGesture: at: (%d,%d)", (int)location.x, (int)location.y);
touch_lo_tap(location.x, location.y);
[self->textView becomeFirstResponder];
} else {
- NSLog(@"tapGesture: %@", gestureRecognizer);
+ // NSLog(@"tapGesture: %@", gestureRecognizer);
}
}
@@ -71,7 +71,7 @@
int deltaX = translation.x - previousX;
int deltaY = translation.y - previousY;
- NSLog(@"panGesture: pan (delta): (%d,%d)", deltaX, deltaY);
+ // NSLog(@"panGesture: pan (delta): (%d,%d)", deltaX, deltaY);
touch_lo_pan(deltaX, deltaY);
}
@@ -85,7 +85,7 @@
CGPoint location = [gestureRecognizer locationInView: self];
CGFloat scale = gestureRecognizer.scale;
- NSLog(@"pinchGesture: pinch: (%f) cords (%d,%d)", (float)scale, (int)location.x, (int)location.y );
+ // NSLog(@"pinchGesture: pinch: (%f) cords (%d,%d)", (float)scale, (int)location.x, (int)location.y );
touch_lo_zoom((int)location.x, (int)location.y, (float)scale);
@@ -101,7 +101,7 @@
UIGestureRecognizerState state = gestureRecognizer.state;
- NSLog(@"longPressGesture: state %d cords (%d,%d)",state ,(int)point.x,(int)point.y);
+ // NSLog(@"longPressGesture: state %d cords (%d,%d)",state ,(int)point.x,(int)point.y);
if (state == UIGestureRecognizerStateEnded) {
touch_lo_tap(point.x, point.y);