diff options
author | sqlprodev <sqlprodev@northofthree.com> | 2011-04-14 19:57:45 +0000 |
---|---|---|
committer | sqlprodev <sqlprodev@northofthree.com> | 2011-04-14 19:57:45 +0000 |
commit | 8c2e3126426c0c4c9e5bc2392879a850d3373641 (patch) | |
tree | 8a6963b5efd578e8586bd808d5f204a81a85c6dc /Source/SPCopyTable.m | |
parent | ad7328e56541556d23f527303deddaefd4253ef2 (diff) | |
download | sequelpro-8c2e3126426c0c4c9e5bc2392879a850d3373641.tar.gz sequelpro-8c2e3126426c0c4c9e5bc2392879a850d3373641.tar.bz2 sequelpro-8c2e3126426c0c4c9e5bc2392879a850d3373641.zip |
SP_REFACTOR: Workaround for naming conflict with postNotificationOnMainThread: which also exists in TCMPortMapper.framework; NSUserDefaults access now permitted in SP_REFACTOR blocks for a few prefs keys
Diffstat (limited to 'Source/SPCopyTable.m')
-rw-r--r-- | Source/SPCopyTable.m | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/SPCopyTable.m b/Source/SPCopyTable.m index f297ff76..e1b7e773 100644 --- a/Source/SPCopyTable.m +++ b/Source/SPCopyTable.m @@ -618,11 +618,7 @@ NSInteger kBlobAsImageFile = 4; // Loop through the rows, adding their descriptive contents NSUInteger rowIndex = [selectedRows firstIndex]; -#ifndef SP_REFACTOR NSString *nullString = [prefs objectForKey:SPNullValue]; -#else - NSString *nullString = @"NULL"; -#endif Class nsDataClass = [NSData class]; Class mcpGeometryData = [MCPGeometryData class]; NSStringEncoding connectionEncoding = [mySQLConnection stringEncoding]; @@ -796,11 +792,7 @@ NSInteger kBlobAsImageFile = 4; // Replace NULLs with their placeholder string else if ([contentString isNSNull]) { -#ifndef SP_REFACTOR /* patch */ contentString = [prefs objectForKey:SPNullValue]; -#else - contentString = @"NULL"; -#endif // Same for cells for which loading has been deferred - likely blobs } else if ([contentString isSPNotLoaded]) { @@ -1434,9 +1426,7 @@ NSInteger kBlobAsImageFile = 4; - (void) awakeFromNib { columnDefinitions = nil; -#ifndef SP_REFACTOR prefs = [[NSUserDefaults standardUserDefaults] retain]; -#endif if ([NSTableView instancesRespondToSelector:@selector(awakeFromNib)]) [super awakeFromNib]; |