diff --git a/src/plugins/docgen/ODFDoc.py b/src/plugins/docgen/ODFDoc.py index e7ec8f336..dd03b9220 100644 --- a/src/plugins/docgen/ODFDoc.py +++ b/src/plugins/docgen/ODFDoc.py @@ -79,8 +79,8 @@ _esc_map = { #------------------------------------------------------------------------- class ODFDoc(BaseDoc, TextDoc, DrawDoc): - def __init__(self, styles, type, template): - BaseDoc.__init__(self, styles, type, template) + def __init__(self, styles, type): + BaseDoc.__init__(self, styles, type) self.media_list = [] self.cntnt = None self.filename = None diff --git a/src/plugins/textreport/KinshipReport.py b/src/plugins/textreport/KinshipReport.py index 9b431f9eb..ea25ed5d6 100644 --- a/src/plugins/textreport/KinshipReport.py +++ b/src/plugins/textreport/KinshipReport.py @@ -378,6 +378,7 @@ class KinshipOptions(MenuReportOptions): font.set_size(12) font.set_bold(True) p = ParagraphStyle() + p.set_header_level(3) p.set_font(font) p.set_top_margin(ReportUtils.pt2cm(6)) p.set_description(_('The basic style used for sub-headings.'))