diff options
Diffstat (limited to 'src/rtfdocvisitor.cpp')
-rw-r--r-- | src/rtfdocvisitor.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp index acfaafa..6fb0948 100644 --- a/src/rtfdocvisitor.cpp +++ b/src/rtfdocvisitor.cpp @@ -1088,26 +1088,26 @@ void RTFDocVisitor::visitPost(DocSecRefList *) m_lastIsPara=TRUE; } -void RTFDocVisitor::visitPre(DocLanguage *l) -{ - DBG_RTF("{\\comment RTFDocVisitor::visitPre(DocLanguage)}\n"); - QString langId = Config_getEnum("OUTPUT_LANGUAGE"); - if (l->id().lower()!=langId.lower()) - { - pushEnabled(); - m_hide = TRUE; - } -} - -void RTFDocVisitor::visitPost(DocLanguage *l) -{ - DBG_RTF("{\\comment RTFDocVisitor::visitPost(DocLanguage)}\n"); - QString langId = Config_getEnum("OUTPUT_LANGUAGE"); - if (l->id().lower()!=langId.lower()) - { - popEnabled(); - } -} +//void RTFDocVisitor::visitPre(DocLanguage *l) +//{ +// DBG_RTF("{\\comment RTFDocVisitor::visitPre(DocLanguage)}\n"); +// QString langId = Config_getEnum("OUTPUT_LANGUAGE"); +// if (l->id().lower()!=langId.lower()) +// { +// pushEnabled(); +// m_hide = TRUE; +// } +//} +// +//void RTFDocVisitor::visitPost(DocLanguage *l) +//{ +// DBG_RTF("{\\comment RTFDocVisitor::visitPost(DocLanguage)}\n"); +// QString langId = Config_getEnum("OUTPUT_LANGUAGE"); +// if (l->id().lower()!=langId.lower()) +// { +// popEnabled(); +// } +//} void RTFDocVisitor::visitPre(DocParamSect *s) { |