Author: rgheck
Date: Wed Sep 7 23:47:36 2011
New Revision: 39632
URL: http://www.lyx.org/trac/changeset/39632
Log:
Remove unused code.
Modified:
lyx-devel/trunk/src/Converter.cpp
lyx-devel/trunk/src/Converter.h
lyx-devel/trunk/src/Format.cpp
Modified: lyx-devel/trunk/src/Converter.cpp
==============================================================================
--- lyx-devel/trunk/src/Converter.cpp Wed Sep 7 23:41:00 2011 (r39631)
+++ lyx-devel/trunk/src/Converter.cpp Wed Sep 7 23:47:36 2011 (r39632)
@@ -131,21 +131,6 @@
}
-bool operator<(Converter const & a, Converter const & b)
-{
- // use the compare_ascii_no_case instead of compare_no_case,
- // because in turkish, 'i' is not the lowercase version of 'I',
- // and thus turkish locale breaks parsing of tags.
- int const i = compare_ascii_no_case(a.From->prettyname(),
- b.From->prettyname());
- if (i == 0)
- return compare_ascii_no_case(a.To->prettyname(),
- b.To->prettyname()) < 0;
- else
- return i < 0;
-}
-
-
Converter const * Converters::getConverter(string const & from,
string const & to) const
{
@@ -250,12 +235,6 @@
}
-void Converters::sort()
-{
- std::sort(converterlist_.begin(), converterlist_.end());
-}
-
-
OutputParams::FLAVOR Converters::getFlavor(Graph::EdgePath const & path)
{
for (Graph::EdgePath::const_iterator cit = path.begin();
Modified: lyx-devel/trunk/src/Converter.h
==============================================================================
--- lyx-devel/trunk/src/Converter.h Wed Sep 7 23:41:00 2011 (r39631)
+++ lyx-devel/trunk/src/Converter.h Wed Sep 7 23:47:36 2011 (r39632)
@@ -94,8 +94,6 @@
//
void erase(std::string const & from, std::string const & to);
///
- void sort();
- ///
std::vector<Format const *> const
getReachableTo(std::string const & target, bool clear_visited);
///
Modified: lyx-devel/trunk/src/Format.cpp
==============================================================================
--- lyx-devel/trunk/src/Format.cpp Wed Sep 7 23:41:00 2011 (r39631)
+++ lyx-devel/trunk/src/Format.cpp Wed Sep 7 23:47:36 2011 (r39632)
@@ -77,6 +77,7 @@
} //namespace anon
+
bool operator<(Format const & a, Format const & b)
{
// use the compare_ascii_no_case instead of compare_no_case,