Bug 84119

Summary: Basic IDE - Autocorrection option makes unwanted source changes
Product: LibreOffice Reporter: JPL <jp>
Component: BASICAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: raal
Version: 4.2.6.2 release   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Short macro to edit

Description JPL 2014-09-20 11:01:54 UTC
Created attachment 106574 [details]
Short macro to edit

The changes made by the Autocorrection option of the Basic IDE in the example below corrupts the original source which was correct.

1. Open the attached Writer file and enable macros.

2. Open the Basic IDE
- Tools / Macros / Organize macros / LibreOffice Basic …
- Select Main in Module1 in Bug IDE AutoCorrection.odt and press Edit

3. Check with Tools / Options … that in the "Basic IDE options" the Autocorrection (in Code Suggestion) flag is selected

4. Put the cursor at the beginning of any of the lines starting with
	a = com.sun.star.sdbc.DataType.XXXX
and hit the Tab key

=> XXXX is changed into Xxxx, e.g. DOUBLE is changed into Double.

This raises a run-time error.
Comment 1 raal 2014-10-13 11:34:16 UTC
I can confirm with LO 4.3.2, Win7

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.