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

Hossein <hoss...@libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Whiteboard|target:6.1.0 target:6.2.0   |target:6.1.0 target:6.2.0
                   |target:6.3.0 target:6.4.0   |target:6.3.0 target:6.4.0
                   |target:6.5.0 target:7.0.0   |target:6.5.0 target:7.0.0
                   |target:7.2.0 target:7.3.0   |target:7.2.0 target:7.3.0
                   |target:7.4.0 target:7.5.0   |target:7.4.0 target:7.5.0
                   |target:7.6.0                |target:7.6.0 reviewed:2023

--- Comment #58 from Hossein <hoss...@libreoffice.org> ---
Re-evaluating the EasyHack in 2023

This issue is still relevant. In total, now there are around 2k of remaining
sal_uLong usages in the code:

$ git grep sal_uLong *.cxx *.hxx|wc -l
2066

If you want to which modules/directories have the least/most remaining
sal_uLong instances, you can use this simple bash script:

for d in */
do
        cd $d
        count=$(git grep sal_uLong *.cxx *.hxx|wc -l)
        if [ $count -ne 0 ]
        then
                echo -n $count
                echo ": $d"
        fi
        cd ..
done

This is a sorted output from the latest code:

$ ./count.sh |sort -h
1: editeng/
1: reportdesign/
1: unotools/
2: chart2/
2: cui/
2: dbaccess/
2: desktop/
2: drawinglayer/
3: basctl/
3: framework/
6: svl/
8: svx/
11: toolkit/
13: compilerplugins/
14: lotuswordpro/
25: starmath/
37: svtools/
39: filter/
65: include/
125: sd/
436: vcl/
597: sc/
671: sw/

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to