Subject : Help regarding Bug 90341 - Clean up excessive const_cast'ing
Ilmari Lauhakangas
ilmari.lauhakangas at libreoffice.org
Tue Jan 10 08:00:32 UTC 2023
On 9.1.2023 21.48, Siddharth Khattar wrote:
> Hello,
>
> So I did all the recommended changes (including cleaning up my
> unintended mess of new patches) that were commented in the code in the
> file "impastpl.cxx" but Jenkins is still giving me a build
> error. Can someone please help me with it, the link to it on Gerrit is:
> https://gerrit.libreoffice.org/c/core/+/144374/1
> <https://gerrit.libreoffice.org/c/core/+/144374/1> I tried a further
> commit and investigated a few things by changing some static_cast back
> to const_cast but couldn't figure it out, unfortunately. For reference,
> The easy hack I'm referring to is:
> https://bugs.documentfoundation.org/show_bug.cgi?id=90341
> <https://bugs.documentfoundation.org/show_bug.cgi?id=90341>
Here's what you should do:
1. Pick up a rubber duck [1] (an unsuspecting friend or relative will do
in a pinch)
2. Explain to it in detail what you were doing and why
3. If there is no eureka moment, post the same information to the list
Ilmari
1: https://en.wikipedia.org/wiki/Rubber_duck_debugging
More information about the LibreOffice
mailing list