summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Fernandez <jfernandez@igalia.com>2013-04-08 21:27:27 +0000
committerJavier Fernandez <jfernandez@igalia.com>2013-04-11 13:20:35 +0000
commit31e61a35e834108c72c99405c8c8fcda4f7215ba (patch)
tree15232610d07d0922d6cca731a4e0eb78feed5f7e
parentaf39fdacd7db4eccb16930de2e25c9d5d259a748 (diff)
Fixed typos.
Change-Id: Ia6f99bb7d0f8263e5b03933304975325cc1278e0
-rw-r--r--wizards/com/sun/star/wizards/ui/event/UnoDataAware.py2
-rw-r--r--wizards/com/sun/star/wizards/web/WWD_Events.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.py b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.py
index 8ce341a01180..2c9c7c9b35a9 100644
--- a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.py
+++ b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.py
@@ -58,7 +58,7 @@ class UnoDataAware(DataAware):
setattr(self.unoModel, self.unoPropName, value)
else:
print ("DEBUG !!! UnoDataAware.setToUI -- dataObject hasn't the attribute, su using the 'setter' method.")
- uno.invoke(self.unoModel, "set" + self.unoPropName, (ui,))
+ uno.invoke(self.unoModel, "set" + self.unoPropName, (value,))
# Try to get from an arbitrary object a boolean value.
# Null returns Boolean.FALSE;
diff --git a/wizards/com/sun/star/wizards/web/WWD_Events.py b/wizards/com/sun/star/wizards/web/WWD_Events.py
index 2b13edf12528..407301e57bcb 100644
--- a/wizards/com/sun/star/wizards/web/WWD_Events.py
+++ b/wizards/com/sun/star/wizards/web/WWD_Events.py
@@ -68,6 +68,7 @@ class WWD_Events(WWD_Startup):
self.count = 0
self.bgDialog = None
self.iconsDialog = None
+ self.docPreview = None
@classmethod
def main(self, args):