[Okular-devel] [Bug 283447] TOC of dvi files is shown flat

Albert Astals Cid tsdgeos at terra.es
Thu Oct 6 11:12:40 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=283447


Albert Astals Cid <tsdgeos at terra.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |4.7.3
         Resolution|                            |FIXED




--- Comment #2 from Albert Astals Cid <tsdgeos terra es>  2011-10-06 11:12:40 ---
Git commit 83df127ac057d98e6e4f67e07074675c8830198a by Albert Astals Cid.
Committed on 06/10/2011 at 13:09.
Pushed by aacid into branch 'KDE/4.7'.

Fix creation of the TOC tree for dvi files

The old code assumed the number of children would be
"-NUMBER "
while this file has
"-NUMBER/"
so what we do now is looping after the - until we find a non digit
All this code would better be done using a regexp and not that many section
calls
but i did not want to touch it more than needed
BUGS: 283447
FIXED-IN: 4.7.3

M  +9    -2    generators/dvi/dviRenderer_prescan.cpp

http://commits.kde.org/okular/83df127ac057d98e6e4f67e07074675c8830198a

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list