summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/fax/FaxDocument.py
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2012-11-28 20:54:46 +0100
committerXisco Fauli <anistenis@gmail.com>2012-11-28 22:45:38 +0100
commit700e75f09dce3336751fa66eb2aa04f4a4b69f6a (patch)
tree0b8b0e5dd04b2cadd64b7674fe58b43e0371bf0a /wizards/com/sun/star/wizards/fax/FaxDocument.py
parentc94a6f623982366226a8b99a1edfb6b14d1f5ec5 (diff)
pyfax: fix a mistake i did yesterday
Change-Id: I8e3762b2cb28c6d7273e177014f2ac374d393db4
Diffstat (limited to 'wizards/com/sun/star/wizards/fax/FaxDocument.py')
-rw-r--r--wizards/com/sun/star/wizards/fax/FaxDocument.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/wizards/com/sun/star/wizards/fax/FaxDocument.py b/wizards/com/sun/star/wizards/fax/FaxDocument.py
index 93f6851d6934..ee33cc6ee528 100644
--- a/wizards/com/sun/star/wizards/fax/FaxDocument.py
+++ b/wizards/com/sun/star/wizards/fax/FaxDocument.py
@@ -105,18 +105,18 @@ class FaxDocument(TextDocument):
self.xTextDocument)
oUserDataAccess = Configuration.getConfigurationRoot(
self.xMSF, "org.openoffice.UserProfile/Data", False)
- myFieldHandler.changeUserFieldContent("Company",
- oUserDataAccess.hasByName("o"))
- myFieldHandler.changeUserFieldContent("Street",
- oUserDataAccess.hasByName("street"))
- myFieldHandler.changeUserFieldContent("PostCode",
- oUserDataAccess.hasByName("postalcode"))
myFieldHandler.changeUserFieldContent(
- PropertyNames.PROPERTY_STATE, oUserDataAccess.hasByName("st"))
- myFieldHandler.changeUserFieldContent("City",
- oUserDataAccess.hasByName("l"))
- myFieldHandler.changeUserFieldContent("Fax",
- oUserDataAccess.hasByName("facsimiletelephonenumber"))
+ "Company", oUserDataAccess.getByName("o"))
+ myFieldHandler.changeUserFieldContent(
+ "Street", oUserDataAccess.getByName("street"))
+ myFieldHandler.changeUserFieldContent(
+ "PostCode", oUserDataAccess.getByName("postalcode"))
+ myFieldHandler.changeUserFieldContent(
+ PropertyNames.PROPERTY_STATE, oUserDataAccess.getByName("st"))
+ myFieldHandler.changeUserFieldContent(
+ "City", oUserDataAccess.getByName("l"))
+ myFieldHandler.changeUserFieldContent(
+ "Fax", oUserDataAccess.getByName("facsimiletelephonenumber"))
except Exception:
traceback.print_exc()