connectivity/source/drivers/mork/MorkParser.cxx | 47 ------------------------ connectivity/source/drivers/mork/MorkParser.hxx | 1 unusedcode.easy | 1 3 files changed, 49 deletions(-)
New commits: commit 179e267704733fff336637a9de61598369e1dce9 Author: Julien Nabet <serval2...@yahoo.fr> Date: Sat Oct 13 01:02:39 2012 +0200 Remove unused MorkParser::getRecordKeys4List Change-Id: I755dce0ebee72a75c36b3cf36b52a2a1c736cc23 diff --git a/connectivity/source/drivers/mork/MorkParser.cxx b/connectivity/source/drivers/mork/MorkParser.cxx index 0637331..b29486f 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 8ac7584..789e569 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(); diff --git a/unusedcode.easy b/unusedcode.easy index 9b9df27..3218143 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1,5 +1,4 @@ FontSelectPattern::FontSelectPattern(PhysicalFontFace const&, Size const&, float, int, bool) -MorkParser::getRecordKeys4List(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__debug::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) RelatedMultipart::getIds() SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char) ScCTB::ScCTB() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits