Bug 130309 - TTS doesn't start and opens up Libreoffice Basic
Summary: TTS doesn't start and opens up Libreoffice Basic
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Macro-StarBasic
  Show dependency treegraph
 
Reported: 2020-01-31 09:19 UTC by Niroj
Modified: 2020-01-31 12:20 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niroj 2020-01-31 09:19:34 UTC
Description:
After selection of text and press the TTS button. It opens up a Error.

BASIC syntax error.
Variable nPage already defined.

https://i.imgur.com/awCO2B2.png

Steps to Reproduce:
1.Select Text
2.Press the TTS button

Actual Results:
The error opens up on BASIC

Expected Results:
The TTS engine should start audio


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Oliver Brinzing 2020-01-31 12:18:03 UTC
I remember there was a change of handling duplicate variable declaration

This will fail with LO 6.4.0.3 now:

"BASIC syntax error. Variable s already defined."

REM  *****  BASIC  *****
Sub Main()
  Call Test("Hello")
End Sub

Sub Test(s as String)
Dim s as String
  MsgBox s
End Sub