From 2d4407b269c41ccf03c1f00727667141d2719d23 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Wed, 18 Mar 2020 08:59:11 +0100 Subject: [PATCH] Fast fix for a bug --- description.xml | 2 +- ePublishing/Archive.xba | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/description.xml b/description.xml index 08737e4..c8ab738 100644 --- a/description.xml +++ b/description.xml @@ -3,7 +3,7 @@ xmlns:dep="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink"> - + Инструменты для создания электронных изданий diff --git a/ePublishing/Archive.xba b/ePublishing/Archive.xba index c3c08e2..60f8a1e 100644 --- a/ePublishing/Archive.xba +++ b/ePublishing/Archive.xba @@ -1,6 +1,6 @@ -Sub archMark8 +Sub archMark9 End Sub @@ -43,7 +43,8 @@ Sub createBidirectLink objectsCount = oSelections.getCount() - 1 If objectsCount < 2 OR objectsCount > 2 Then MsgBox "Нужно выделить два объекта" - Exit Sub End If + Exit Sub + End If oAnchor1 = oSelections.getByIndex(1) oAnchor2 = oSelections.getByIndex(2)