EasyHack Archive

5 Feb 2023

QR code improvement – LibreOffice EasyHack

A QR code is a type of 2D barcode that is useful for encoding data, such as a

24 Oct 2022

Crashes that you can fix! – EasyHack

As discussed in the “crash fixes for LibreOffice, part 1: segfaults“, bugs that lead to crash in

16 Aug 2022

ODF standard and the code – EasyHack

Open Document Format (ODF) is a standard (ISO/IEC 26300) and native file format that LibreOffice uses. OASIS developed

10 Mar 2022

Use std::hypot for Pythagorean Addition – EasyHack

There are many places in the code that calculating the Pythagorean addition is needed. Read the

8 Mar 2022

Use Range Based For Loops – EasyHack

Because for loops are a powerful tool in C/C++, they are one of the desirable tools when you

31 Dec 2021

Use basegfx to convert angle unit – EasyHack

What is basegfx?

First, what is basegfx, how it is used for converting angle units, and why we

23 Nov 2021

Use symbolic constants instead of magic numerical constants – EasyHack

There are many situations that you need to use numerical constants in your code. If

17 Nov 2021

Use atan2 function instead of atan – EasyHack

When working with shapes and charts in LibreOffice, there are several occasions that you have to calculate