Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hi Krisztian,

On Sunday, 2015-06-21 22:11:44 +0200, Krisztian Pinter wrote:

I also think I found some dead code, if someone could shed some light on
the history of it, I would appreciate it. This is my patch which removes
it: https://gerrit.libreoffice.org/#/c/16351/
ScOutputData::DrawExtraShadow gets called with all false parameters which
causes it to just skip any sort of drawing. It seems to be leftovers from
some refactoring.

I don't think so. I haven't investigated thoroughly, but to me it looks
like only the shadow of the surrounding outer cells is suppressed in the
false case. All inner cells still have their shadow(s) drawn.

    bool bSkipY = ( nArrY==0 && !bTop ) || ( nArrY+1 == nArrCount && !bBottom );
    bool bSkipX = ( nArrX==nX1 && !bLeft ) || ( nArrX==nX2+2 && !bRight );

does not skip for 0 < nArrY < nArrCount-1 and nX1 < nArrX < nX2+2

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key "ID" 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack

Attachment: pgpWiW0Q1GagU.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.