diff --git a/gramps2/src/docgen/ODFDoc.py b/gramps2/src/docgen/ODFDoc.py index b2d91b2cc..eccb9f292 100644 --- a/gramps2/src/docgen/ODFDoc.py +++ b/gramps2/src/docgen/ODFDoc.py @@ -877,7 +877,7 @@ class ODFDoc(BaseDoc.BaseDoc): self.meta.write('office:version="1.0">\n'); self.meta.write('\n') self.meta.write('') - self.meta.write(const.progName + ' ' + const.version) + self.meta.write(const.program_name + ' ' + const.version) self.meta.write('\n') self.meta.write('') # It should be reasonable to have a true document title. but how ? diff --git a/gramps2/src/docgen/OpenOfficeDoc.py b/gramps2/src/docgen/OpenOfficeDoc.py index 652ef7a83..efbea5a75 100644 --- a/gramps2/src/docgen/OpenOfficeDoc.py +++ b/gramps2/src/docgen/OpenOfficeDoc.py @@ -772,7 +772,7 @@ class OpenOfficeDoc(BaseDoc.BaseDoc): self.meta.write('office:version="0.9">\n'); self.meta.write('\n') self.meta.write('') - self.meta.write(const.progName + ' ' + const.version) + self.meta.write(const.program_name + ' ' + const.version) self.meta.write('\n') self.meta.write('') self.meta.write(self.name) diff --git a/gramps2/src/docgen/OpenSpreadSheet.py b/gramps2/src/docgen/OpenSpreadSheet.py index 93a0003f8..42e606636 100644 --- a/gramps2/src/docgen/OpenSpreadSheet.py +++ b/gramps2/src/docgen/OpenSpreadSheet.py @@ -448,7 +448,7 @@ class OpenSpreadSheet(SpreadSheetDoc): self.f.write('office:class="text" office:version="0.9">\n'); self.f.write('\n') self.f.write('') - self.f.write(const.progName + ' ' + const.version) + self.f.write(const.program_name + ' ' + const.version) self.f.write('\n') self.f.write('') self.f.write(self.name)