Copy space if endnote is empty

This commit is contained in:
Georgy Litvinov 2021-06-16 15:55:06 +02:00
parent f2cf656958
commit 383c0c832d
2 changed files with 4 additions and 1 deletions

View file

@ -291,6 +291,9 @@ Sub convertNativeEndnoteToCustom(sign As String, nativeEndNoteTextRange As Objec
oViewCursor = ThisComponent.CurrentController.getViewCursor()
oViewCursor.goToRange(nativeEndNoteTextRange.Footnote.Text.Start,false)
oViewCursor.goToRange(nativeEndNoteTextRange.Footnote.Text.End,true)
If oViewCursor.String = "" Then
oViewCursor.String = " "
EndIf
unoCut()
oViewCursor.goToRange(outputPosition,false)
getEndnotePara()