Fast fix for a bug
This commit is contained in:
parent
13ba0eb808
commit
2d4407b269
2 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Archive" script:language="StarBasic" script:moduleType="normal">Sub archMark8
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Archive" script:language="StarBasic" script:moduleType="normal">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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue