Fix 0001431: Tried to run a statistics report:

svn: r9600
This commit is contained in:
Brian Matherly 2007-12-27 18:39:11 +00:00
parent 3708d4f73f
commit 88ff3ab413
2 changed files with 16 additions and 12 deletions

View File

@ -1,3 +1,6 @@
2007-12-27 Brian Matherly <brian@gramps-project.org>
* src/docgen/CairoDoc.py: Fix 0001431: Tried to run a statistics report:
2007-12-27 Brian Matherly <brian@gramps-project.org>
* src/plugins/DescendReport.py:
* src/plugins/AncestorReport.py:

View File

@ -1212,6 +1212,7 @@ class CairoDoc(BaseDoc.BaseDoc, BaseDoc.TextDoc, BaseDoc.DrawDoc):
# ...the text separately
paragraph_style_name = style.get_paragraph_style()
if paragraph_style_name:
paragraph_style = style_sheet.get_paragraph_style(paragraph_style_name)
paragraph_style.set_alignment(BaseDoc.PARA_ALIGN_LEFT)