Message for cleaning in read only mode
This commit is contained in:
parent
5c4bef472b
commit
9f6f5f3ee2
4 changed files with 5 additions and 5 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="Clean" script:language="StarBasic">Sub mark59
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark60
|
||||
|
||||
End Sub
|
||||
|
||||
|
@ -8,7 +8,7 @@ Sub cleanButton
|
|||
Dim config As Object
|
||||
config = initRedactionConfiguration()
|
||||
If ThisComponent.isReadonly Then
|
||||
getTranslation("documentIsReadOnly")
|
||||
MsgBox(getTranslation("documentIsReadOnly"))
|
||||
Exit Sub
|
||||
EndIf
|
||||
If config.getPropertyValue("complexity") = "user" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue