From 97bc32eb68c33a54764380fbd91141028b66f6e0 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Sun, 21 Oct 2012 22:11:08 +0200 Subject: pyletter: Don't need to lock controllers here Change-Id: Ic3c313c8b58005fdd7ac09f7f74bae11f46cde07 --- wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'wizards') diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py index 8e4d4ea76b9d..d8df8b6ba406 100644 --- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py +++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py @@ -395,11 +395,9 @@ class LetterWizardDialogImpl(LetterWizardDialog): TextDocument.xTextDocument = \ self.myLetterDoc.loadAsPreview( self.OfficialFiles.values()[selectedItemPos], False) - self.myLetterDoc.xTextDocument.lockControllers() self.initializeElements() self.setPossibleSenderData(True) self.setElements(False) - self.myLetterDoc.xTextDocument.unlockControllers() def lstPrivateStyleItemChanged(self): selectedItemPos = self.lstPrivateStyle.SelectedItemPos @@ -408,10 +406,8 @@ class LetterWizardDialogImpl(LetterWizardDialog): TextDocument.xTextDocument = \ self.myLetterDoc.loadAsPreview( self.PrivateFiles.values()[selectedItemPos], False) - self.myLetterDoc.xTextDocument.lockControllers() self.initializeElements() self.setElements(True) - self.myLetterDoc.xTextDocument.unlockControllers() def numLogoHeightTextChanged(self): self.BusCompanyLogo.iHeight = int(self.numLogoHeight.Value * 1000) -- cgit