aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-10-07 19:37:02 +0000
committerstuconnolly <stuart02@gmail.com>2010-10-07 19:37:02 +0000
commit600314d27c03b299e3a9d0f986698a8c2baca9bc (patch)
treeb8925b0cca769bc1285f6afbf80301c264ae3423
parent22afbe4dacdf089c3f9f440e1ad859982cbb714e (diff)
downloadsequelpro-600314d27c03b299e3a9d0f986698a8c2baca9bc.tar.gz
sequelpro-600314d27c03b299e3a9d0f986698a8c2baca9bc.tar.bz2
sequelpro-600314d27c03b299e3a9d0f986698a8c2baca9bc.zip
Remove unused constant.
-rw-r--r--Source/SPConstants.h8
-rw-r--r--Source/SPPrintController.m2
2 files changed, 1 insertions, 9 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h
index b730d220..5cbfa463 100644
--- a/Source/SPConstants.h
+++ b/Source/SPConstants.h
@@ -83,14 +83,6 @@ typedef enum {
SPRowCountFetchAlways = 2
} SPRowCountQueryUsageLevels;
-// Export type
-typedef enum {
- SPExportingSQL = 0,
- SPExportingCSV = 1,
- SPExportingXML = 2,
- SPExportingDOT = 3
-} SPExportMode;
-
// Database object (table list) types
typedef enum
{
diff --git a/Source/SPPrintController.m b/Source/SPPrintController.m
index 1119fc15..2fecb035 100644
--- a/Source/SPPrintController.m
+++ b/Source/SPPrintController.m
@@ -216,7 +216,7 @@
NSDictionary *tableSource = [tableSourceInstance tableSourceForPrinting];
- SPExportMode tableType = [tablesListInstance tableType];
+ SPTableType tableType = [tablesListInstance tableType];
switch (tableType) {
case SPTableTypeTable: