On May 13, 2005, at 4:38 PM, Andre Poenitz wrote:

On Fri, May 13, 2005 at 10:39:16AM -0400, Bennett Helm wrote:
Setting granularity to be "Source Line" gives the following:

        59.4%   61.3%   LyX     lengthcombo.C:63        
        0.8%    0.8%    LyX     NO_SRC_FILE:?   
        0.7%    0.8%    LyX     lengthcombo.C:63        
        0.1%    0.1%    LyX     lengthcombo.C:63        
        0.0%    0.0%    LyX     qfont_loader.C:396      
        0.1%    0.1%    LyX     stl_tree.h:1053 
        0.1%    0.1%    LyX     qfont_loader.C:396      
        0.0%    0.0%    LyX     stl_alloc.h:677 

Could you just comment out the whole body of LengthCombo::noPercents() in src/frontend/qt2/lengthcombo.C (this is lines 62-69 or so) and try again?

Here's the result:

        1.0%    62.8%   LyX     lengthcombo.C:72        
        0.7%    60.2%   LyX     lengthcombo.C:72        
        57.6%   59.1%   LyX     lengthcombo.C:72        
        0.7%    0.7%    LyX     NO_SRC_FILE:?   
        0.6%    0.7%    LyX     lengthcombo.C:72        
        0.1%    0.1%    LyX     stl_tree.h:1053 
        0.0%    0.0%    LyX     qfont_loader.C:396      
        0.2%    0.2%    LyX     lengthcombo_moc.C:131   
        0.1%    0.1%    LyX     NO_SRC_FILE:?   
        0.1%    0.1%    LyX     qfont_loader.C:396      

(Note: line 72 of lengthcombo.C is "{}", with the body of LengthCombo::noPercents() commented out above it.)

Bennett



Reply via email to