summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/common/Resource.py
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2012-10-16 23:39:14 +0200
committerXisco Fauli <anistenis@gmail.com>2012-10-16 23:40:40 +0200
commit09f2d543df57ba049a9968292576f6315a51888d (patch)
tree2ee7b90107baa7a20434e3cb2b7f74b6549b775e /wizards/com/sun/star/wizards/common/Resource.py
parent0d8e34f6f6287d61a7381987baafaa3166264a4e (diff)
pywizards: cleanup common code
Change-Id: I6e64ec407326b5759664ace286eb67b2c6cd3b04
Diffstat (limited to 'wizards/com/sun/star/wizards/common/Resource.py')
-rw-r--r--wizards/com/sun/star/wizards/common/Resource.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/wizards/com/sun/star/wizards/common/Resource.py b/wizards/com/sun/star/wizards/common/Resource.py
index 2e5b1424672f..fc607ea3a826 100644
--- a/wizards/com/sun/star/wizards/common/Resource.py
+++ b/wizards/com/sun/star/wizards/common/Resource.py
@@ -17,7 +17,6 @@
#
import traceback
from .Configuration import Configuration
-from .SystemDialog import SystemDialog
from com.sun.star.awt.VclWindowPeerAttribute import OK
@@ -63,9 +62,7 @@ class Resource(object):
@classmethod
def showCommonResourceError(self, xMSF):
- ProductName = Configuration.getProductName(xMSF)
+ from .SystemDialog import SystemDialog
sError = "The files required could not be found.\n" + \
- "Please start the %PRODUCTNAME Setup and choose 'Repair'."
- sError = sError.replace("%PRODUCTNAME", ProductName)
+ "Please start the LibreOffice Setup and choose 'Repair'."
SystemDialog.showMessageBox(xMSF, "ErrorBox", OK, sError)
-