https://bugs.documentfoundation.org/show_bug.cgi?id=128357
--- Comment #5 from Shivam Kumar Singh <[email protected]> ---
(In reply to Heiko Tietze from comment #4)
> (In reply to Pierre C from comment #3)
> > The problem is the same with page styles. Default style is not on the top.
Hi everyone , After working a lot on this bug I understood that :-
- the code pointer for page style is in
/sw/source/core/doc/DocumentStylePoolManager.cxx where the styles are declared
in line 497 .
- the style array is converted to a vector<OUString> in
SwStyleNameMapper::GetPageDescUINameArray and after that it is inserted into
unordered_map<OUString> in /sw/source/core/doc/SwStyleNameMapper.cxx in the
HashFromRange method .
I cannot follow the code after this point, also as we are employing an
unordered_map in HashFromRange , it does not really sort the elements in any
specific order . Where is the actual sorting of style names done then ?
Someone please guide me on this .
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs