aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPExportController.m')
-rw-r--r--Source/SPExportController.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m
index e4079877..19d794ae 100644
--- a/Source/SPExportController.m
+++ b/Source/SPExportController.m
@@ -29,6 +29,7 @@
#import "TableDocument.h"
#import "SPArrayAdditions.h"
#import "SPStringAdditions.h"
+#import "SPConstants.h"
@interface SPExportController (PrivateAPI)
@@ -461,7 +462,7 @@
[csvExporter setCsvEscapeString:[exportCSVFieldsEscapedField stringValue]];
[csvExporter setExportOutputEncoding:[MCPConnection encodingForMySQLEncoding:[[tableDocumentInstance connectionEncoding] UTF8String]]];
- [csvExporter setCsvNULLString:[[NSUserDefaults standardUserDefaults] objectForKey:@"NullValue"]];
+ [csvExporter setCsvNULLString:[[NSUserDefaults standardUserDefaults] objectForKey:SPNullValue]];
[csvExporter setCsvTableColumnNumericStatus:tableColumnNumericStatus];