Add doc string

This commit is contained in:
Tim Bentley 2013-07-21 15:10:21 +01:00
parent 50f3b2b563
commit 790c9ae4f6
1 changed files with 6 additions and 0 deletions

View File

@ -247,6 +247,12 @@ class ExceptionForm(QtGui.QDialog, Ui_ExceptionDialog):
self.send_report_button.setEnabled(state)
def _pyuno_import(self):
"""
Added here to define only when the form is actioned. The uno interface spits out lots of exception messages
if the import is at a file level. If uno import is changed this could be reverted.
This happens in other classes but there it is localised here it is across the whole system and hides real
errors.
"""
try:
import uno
arg = uno.createUnoStruct(u'com.sun.star.beans.PropertyValue')