diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-10-13 01:02:39 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-10-13 01:02:39 +0200 |
commit | 179e267704733fff336637a9de61598369e1dce9 (patch) | |
tree | 0fb30b400f4e7fe8ddbc6e6b79e5b401ffe1f7dd /connectivity | |
parent | Even if it shouldn't be a pb, let's do the same everywhere (diff) | |
download | core-179e267704733fff336637a9de61598369e1dce9.tar.gz core-179e267704733fff336637a9de61598369e1dce9.zip |
Remove unused MorkParser::getRecordKeys4List
Change-Id: I755dce0ebee72a75c36b3cf36b52a2a1c736cc23
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mork/MorkParser.cxx | 47 | ||||
-rw-r--r-- | connectivity/source/drivers/mork/MorkParser.hxx | 1 |
2 files changed, 0 insertions, 48 deletions
diff --git a/connectivity/source/drivers/mork/MorkParser.cxx b/connectivity/source/drivers/mork/MorkParser.cxx index 06373310e3d5..b29486f6eabc 100644 --- a/connectivity/source/drivers/mork/MorkParser.cxx +++ b/connectivity/source/drivers/mork/MorkParser.cxx @@ -636,53 +636,6 @@ void MorkParser::retrieveLists(std::set<std::string>& lists) } } -void MorkParser::getRecordKeys4List(std::string& listName, std::vector<std::string>& records) -{ - MorkTableMap* tables = getTables(defaultScope_); - if (!tables) return; - for (MorkTableMap::iterator TableIter = tables->begin(); - TableIter != tables->end(); TableIter++ ) - { -#ifdef VERBOSE - std::cout << "\t Table:" - << ( ( int ) TableIter->first < 0 ? "-" : " " ) - << std::hex << std::uppercase << TableIter->first << std::endl; -#endif - MorkRowMap* rows = getRows( 0x81, &TableIter->second ); - if (!rows) return; - for ( MorkRowMap::iterator RowIter = rows->begin(); - RowIter != rows->end(); RowIter++ ) - { -#ifdef VERBOSE - std::cout << "\t\t\t Row Id:" - << ( ( int ) RowIter->first < 0 ? "-" : " ") - << std::hex << std::uppercase << RowIter->first << std::endl; - std::cout << "\t\t\t\t Cells:\r\n"; -#endif - // Get cells - bool listFound = false; - for ( MorkCells::iterator cellsIter = RowIter->second.begin(); - cellsIter != RowIter->second.end(); cellsIter++ ) - { - if (listFound) - { - if (cellsIter->first >= 0xC7) - { - std::string value = getValue(cellsIter->second); - records.push_back(value); - } - } - else if ((cellsIter->first == 0xC1) && - listName == getValue( cellsIter->second )) - { - listFound = true; - } - } - - } - } -} - void MorkParser::getRecordKeysForListTable(std::string& listName, std::set<int>& records) { MorkTableMap* tables = getTables(defaultScope_); diff --git a/connectivity/source/drivers/mork/MorkParser.hxx b/connectivity/source/drivers/mork/MorkParser.hxx index 8ac7584a3d66..789e569eb191 100644 --- a/connectivity/source/drivers/mork/MorkParser.hxx +++ b/connectivity/source/drivers/mork/MorkParser.hxx @@ -114,7 +114,6 @@ public: std::string &getColumn( int oid ); void retrieveLists(std::set<std::string>& lists); - void getRecordKeys4List(std::string& listName, std::vector<std::string>& records); void getRecordKeysForListTable(std::string& listName, std::set<int>& records); void dump(); |