diff options
author | Xisco Fauli <anistenis@gmail.com> | 2014-02-14 20:50:16 +0100 |
---|---|---|
committer | Xisco Fauli <anistenis@gmail.com> | 2014-02-14 20:51:21 +0100 |
commit | 9cb456b7bb8a2228fec19ab108739b69760ddcf1 (patch) | |
tree | 8844fccdbfa42c155bc56043115e439b3f6d4879 /wizards | |
parent | ee122cfd36b3af030520f26a6a313bc7cd3156fd (diff) |
pywizards: delete unused fontDescriptors
Change-Id: I01479d3a24377b976b8363318b28b6b647f310ea
Diffstat (limited to 'wizards')
4 files changed, 0 insertions, 40 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.py b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.py index d05558878cae..20f0e17da80d 100644 --- a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.py +++ b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.py @@ -99,22 +99,10 @@ class AgendaWizardDialog(WizardDialog): PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH) - self.fontDescriptor1 = \ - uno.createUnoStruct('com.sun.star.awt.FontDescriptor') - self.fontDescriptor2 = \ - uno.createUnoStruct('com.sun.star.awt.FontDescriptor') self.fontDescriptor4 = \ uno.createUnoStruct('com.sun.star.awt.FontDescriptor') - - #Set member- FontDescriptors... - self.fontDescriptor1.Weight = 150 - self.fontDescriptor1.Underline = SINGLE - self.fontDescriptor2.Weight = 100 self.fontDescriptor4.Weight = 150 - ''' - build components - ''' def buildStep1(self): self.insertLabel("lblTitle1", self.PROPS_LABEL_B, (self.fontDescriptor4, 16, self.resources.reslblTitle1_value, diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialog.py b/wizards/com/sun/star/wizards/fax/FaxWizardDialog.py index 6bf5619bd673..b67e4005ac98 100644 --- a/wizards/com/sun/star/wizards/fax/FaxWizardDialog.py +++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialog.py @@ -33,24 +33,13 @@ class FaxWizardDialog(WizardDialog): self.setDialogProperties(True, 210, True, 104, 52, 1, 1, self.resources.resFaxWizardDialog_title, 310) - self.fontDescriptor1 = \ - uno.createUnoStruct('com.sun.star.awt.FontDescriptor') - self.fontDescriptor2 = \ - uno.createUnoStruct('com.sun.star.awt.FontDescriptor') self.fontDescriptor4 = \ uno.createUnoStruct('com.sun.star.awt.FontDescriptor') self.fontDescriptor5 = \ uno.createUnoStruct('com.sun.star.awt.FontDescriptor') - #Set member- FontDescriptors... - self.fontDescriptor1.Weight = 150 - self.fontDescriptor1.Underline = SINGLE - self.fontDescriptor2.Weight = 100 self.fontDescriptor4.Weight = 100 self.fontDescriptor5.Weight = 150 - ''' - build components - ''' def buildStep1(self): self.optBusinessFax = self.insertRadioButton("optBusinessFax", FaxWizardDialogConst.OPTBUSINESSFAX_ITEM_CHANGED, diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialog.py b/wizards/com/sun/star/wizards/letter/LetterWizardDialog.py index 9a2e650f5232..9d55a193f1ab 100644 --- a/wizards/com/sun/star/wizards/letter/LetterWizardDialog.py +++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialog.py @@ -34,17 +34,10 @@ class LetterWizardDialog(WizardDialog): self.setDialogProperties(True, 210, True, 104, 52, 1, 1, self.resources.resLetterWizardDialog_title, 310) - self.fontDescriptor1 = \ - uno.createUnoStruct('com.sun.star.awt.FontDescriptor') - self.fontDescriptor2 = \ - uno.createUnoStruct('com.sun.star.awt.FontDescriptor') self.fontDescriptor5 = \ uno.createUnoStruct('com.sun.star.awt.FontDescriptor') self.fontDescriptor6 = \ uno.createUnoStruct('com.sun.star.awt.FontDescriptor') - self.fontDescriptor1.Weight = 150 - self.fontDescriptor1.Underline = SINGLE - self.fontDescriptor2.Weight = 100 self.fontDescriptor5.Weight = 100 self.fontDescriptor6.Weight = 150 diff --git a/wizards/com/sun/star/wizards/web/WebWizardDialog.py b/wizards/com/sun/star/wizards/web/WebWizardDialog.py index 1cd2d984eb13..5a066fd40e29 100644 --- a/wizards/com/sun/star/wizards/web/WebWizardDialog.py +++ b/wizards/com/sun/star/wizards/web/WebWizardDialog.py @@ -92,10 +92,6 @@ class WebWizardDialog(WizardDialog): self.setDialogProperties( True, 210, True, 102, 52, 1, 6, self.resources.resWebWizardDialog_title, 330) - self.fontDescriptor0 = \ - uno.createUnoStruct('com.sun.star.awt.FontDescriptor') - self.fontDescriptor1 = \ - uno.createUnoStruct('com.sun.star.awt.FontDescriptor') self.fontDescriptor4 = \ uno.createUnoStruct('com.sun.star.awt.FontDescriptor') self.fontDescriptor5 = \ @@ -105,11 +101,6 @@ class WebWizardDialog(WizardDialog): self.fontDescriptor7 = \ uno.createUnoStruct('com.sun.star.awt.FontDescriptor') - self.imgIconsPrev = range(8) - #Set member- self.fontDescriptors... - self.fontDescriptor0.Weight = 100 - self.fontDescriptor1.Weight = 150 - self.fontDescriptor1.Underline = SINGLE self.fontDescriptor4.Weight = 150 self.fontDescriptor5.Name = "Angsana New" self.fontDescriptor5.Height = 16 @@ -126,7 +117,6 @@ class WebWizardDialog(WizardDialog): self.fontDescriptor7.StyleName = "Regular" self.fontDescriptor7.Weight = 100 - #build components def buildStep1(self): tabIndex = 100 self.insertLabel("lbIntroTitle", WebWizardDialog.PROPNAMES_TITLE, |