[Libreoffice-bugs] [Bug 113876] New: Parsing outline level only setted in english language on docsh2.cxx:1026

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 16 10:33:17 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=113876

            Bug ID: 113876
           Summary: Parsing outline level only setted in english language
                    on docsh2.cxx:1026
           Product: LibreOffice
           Version: 6.0.0.0.alpha1+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: aghanmi at linagora.com

Description:
When creating a document master the checks of listbox values is hardcoded in
english so it don't work with other languages like french.

https://pastebin.com/nQ1NAcDV

This is where the file docsh2.cxx : sw/source/uibase/app/docsh2.cxx

Steps to Reproduce:
1.modify language of Lo in french Tools -> Options -> language settings -> user
interface (to french (france)) && locale settings (to french (france))
2. open the file uploaded (list.odt)
3. Fichier(File in english) -> Fichier (send in english) -> créer un document
master (create master document in engish) -> check in lisbox Template (Styles
in english) "Plan : niveau 2 (Outline : level 2 in english)" -> save
4. Save the .odm file (the .odt file will be closed and instead the .odm file
will be openend). 

Actual Results:  
Odm file is created and subtitles 1.1 and 1.2 are selected and subtitles 2.1
and 2.2 are selected and .odt file are generated. 
PS: Check right_odm_file.odm

Expected Results:
Odm file is created and title 1 with 1.1 and 1.2 is selected and title 2 with
2.1 and 2.2 are selected and two .odt file are generated. (weird behavior same
result as outline 1 : it's an error case in mode debug). 
PS: Check wrong_odm_file.odm


Reproducible: Always


User Profile Reset: No



Additional Info:
Try to reproduce this bug on linux platforms because in windows platforms there
is another issue i already fixed and i will commit it.


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101
Firefox/57.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171116/5f938aaf/attachment.html>


More information about the Libreoffice-bugs mailing list