aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPGeometryDataView.m
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2011-03-01 19:38:23 +0000
committersqlprodev <sqlprodev@northofthree.com>2011-03-01 19:38:23 +0000
commit761a00170b4a511e4dd615a208da1ee93a6b1a1e (patch)
tree57531ed23925153b42f76e3b510a895108ae22ce /Source/SPGeometryDataView.m
parent4ffd7b043ca505e52b7f1c5a463e02534997c197 (diff)
downloadsequelpro-761a00170b4a511e4dd615a208da1ee93a6b1a1e.tar.gz
sequelpro-761a00170b4a511e4dd615a208da1ee93a6b1a1e.tar.bz2
sequelpro-761a00170b4a511e4dd615a208da1ee93a6b1a1e.zip
fixed compiler warnings
Diffstat (limited to 'Source/SPGeometryDataView.m')
-rw-r--r--Source/SPGeometryDataView.m4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/SPGeometryDataView.m b/Source/SPGeometryDataView.m
index 10cf5b4a..d68bb57b 100644
--- a/Source/SPGeometryDataView.m
+++ b/Source/SPGeometryDataView.m
@@ -79,9 +79,8 @@
x_min*=zoom_factor;
y_min*=zoom_factor;
- if ( self = [super initWithFrame:NSMakeRect(0,0,width+margin_offset*2,height+margin_offset*2)] )
+ if ( (self = [super initWithFrame:NSMakeRect(0,0,width+margin_offset*2,height+margin_offset*2)]) )
{
- ;
}
lineColor = [NSColor blackColor];
@@ -263,7 +262,6 @@
{
if(!type || ![type length] || !coordinates || ![coordinates count]) return nil;
- NSSize mySize = self.bounds.size;
NSRect myBounds = [self bounds];
return [self dataWithPDFInsideRect:myBounds];