NFC cleanup duplicate entry in sc/IwyuFilter_sc.yaml #2

found by sed -i  -f ref.sed */*.yaml
--------------------ref.sed --------------------
{
N;
s#\([^\n]*\n\)\1#\1#g;
P;
D;
}
------------------------------------------------

meaning: by default it reads in one line from the file
then the N; command says "add a \n and read in the next line
    which leaves a one-line pattern containing 2 lines separated by \n
then search for line1\n repeated \1
and replace with \1.

likely nothing has happened, so P; print up to the first \n (aka line1)
    so that we don't lose that line
D; delete up to the first \n
    so that it isn't in the pattern buffer any more,
    and next search starts line2
and then repeat.

Change-Id: Ib5d38af77568f59f36083f5348762d852acaa3e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169047
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
This commit is contained in:
Justin Luth 2024-06-17 13:26:14 -04:00 committed by Gabor Kelemen
parent 160ef8e6c3
commit a9bdf3adf3

View file

@ -257,7 +257,6 @@ excludelist:
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/chart2/data/DataSequenceRole.hpp
- com/sun/star/chart2/data/XDataSequence.hpp
- com/sun/star/chart2/data/XDataSequence.hpp
- com/sun/star/chart2/data/XNumericalDataSequence.hpp
- com/sun/star/chart2/data/XTextualDataSequence.hpp
- com/sun/star/lang/XServiceInfo.hpp