aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTableContent.m2
-rw-r--r--Source/SPTableContentDataSource.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index c99c8791..7cc7ffe3 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -4264,7 +4264,7 @@
numberOfValues = 0;
for(NSInteger anIndex=0; anIndex<numberOfCols; anIndex++) {
NSString *filterCell;
- NSDictionary *filterCellData = [NSDictionary dictionaryWithDictionary:[filterTableData objectForKey:[NSNumber numberWithInteger:anIndex]]];
+ NSDictionary *filterCellData = [NSDictionary dictionaryWithDictionary:[filterTableData objectForKey:[NSString stringWithFormat:@"%d",anIndex]]];
// Take filterTableData
if(currentValue == nil) {
diff --git a/Source/SPTableContentDataSource.m b/Source/SPTableContentDataSource.m
index 1ce9662f..484df453 100644
--- a/Source/SPTableContentDataSource.m
+++ b/Source/SPTableContentDataSource.m
@@ -47,7 +47,7 @@
{
#ifndef SP_REFACTOR
if (tableView == filterTableView) {
- return filterTableIsSwapped ? [filterTableData count] : [[[filterTableData objectForKey:[NSNumber numberWithInteger:0]] objectForKey:@"filter"] count];
+ return filterTableIsSwapped ? [filterTableData count] : [[[filterTableData objectForKey:@"0"] objectForKey:@"filter"] count];
}
else
#endif