-#ifndef NO_PEXTRA_REALLY
-// compatibility stuff < version 1.2.0pre and for
-// "old" 1.2.0 files before the pre
-namespace {
-string const convertOldRelLength(string const & oldLength)
-{
- // we can have only one or none of the following
- if (oldLength.find("c%") != string::npos) {
- return subst(oldLength,"c%","col%");
-
- } else if (oldLength.find("t%") != string::npos) {
- if (oldLength.find("text%") != string::npos ||
- oldLength.find("height%") != string::npos)
- return oldLength;
- else
- return subst(oldLength,"t%","text%");
-
- } else if (oldLength.find("l%") != string::npos) {
- if (oldLength.find("col%") != string::npos)
- return oldLength;
- else
- return subst(oldLength,"l%","line%");
-
- } else if (oldLength.find("p%") != string::npos)
- return subst(oldLength,"p%","page%");
-
- return oldLength;
-}
-} // end anon
-#endif
-