diff options
author | Behrend Cornelius <bc@openoffice.org> | 2002-10-16 13:07:57 +0000 |
---|---|---|
committer | Behrend Cornelius <bc@openoffice.org> | 2002-10-16 13:07:57 +0000 |
commit | ecf5ec5749b9d876630028a750de99e2b2e27534 (patch) | |
tree | 7aa41dbff409e828f9bfe4528e162c0e38a57cb5 /wizards/source/importwizard/DialogModul.xba | |
parent | aadd1daf27f535c1a17c0acbc3d8a5794d9e6e36 (diff) |
#104114# Logdocument now only created when write is installed
Diffstat (limited to 'wizards/source/importwizard/DialogModul.xba')
-rw-r--r-- | wizards/source/importwizard/DialogModul.xba | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/wizards/source/importwizard/DialogModul.xba b/wizards/source/importwizard/DialogModul.xba index 748231a4bfba..08c6e4fc33e5 100644 --- a/wizards/source/importwizard/DialogModul.xba +++ b/wizards/source/importwizard/DialogModul.xba @@ -89,6 +89,11 @@ Dim i as Integer .chkSOApplication4.Label = sSODocumentCheckbox(3) .cmdBack.Enabled = False .Step = 1 + + If Not oFactoryKey.hasbyName("com.sun.star.text.TextDocument") Then + .chkLogfile.State = 0 + .chkLogfile.Enabled = False + End If End With CheckModuleInstallation() ToggleNextButton() @@ -129,9 +134,9 @@ Dim oNullObject as Object ' Note: SO-Helper Applications are partly treated like templates although they only have documents .hlnTemplates.Label = sProgressMoreDocs .chkTemplatePath.Label = sSOHelperDocuments(0,0) - .chkTemplatePath.Enabled = oFactoriesAccess.HasByName(sSOHelperDocuments(0,1)) + .chkTemplatePath.Enabled = oFactoryKey.HasByName(sSOHelperDocuments(0,1)) .chkDocumentPath.Label = sSOHelperDocuments(1,0) - .chkDocumentPath.Enabled = oFactoriesAccess.HasByName(sSOHelperDocuments(1,1)) + .chkDocumentPath.Enabled = oFactoryKey.HasByName(sSOHelperDocuments(1,1)) Else .chkTemplatePath.Enabled = True .chkDocumentPath.Enabled = True |