Output of printf

Mike Kaganski mikekaganski at hotmail.com
Tue Jul 28 07:57:25 UTC 2020

On 28.07.2020 10:54, Mike Kaganski wrote:
> Hi,
> On 28.07.2020 10:27, anshu khare wrote:
>> So here's what I was trying to do.
>> In  svx/source/dialog/compressgraphicdialog.cxx, I added a printf statement
>> in CompressGraphicsDialog::CompressGraphicsDialog() function
>> and CompressGraphicsDialog::Initialize() function as follows:
>> printf("Hi");
>> Then I built a debug version of LibreOffice.
>> As usual soffice.bin and LibreOffice Dev Personal opened up.
>> I created a Writer document and inserted a picture in it.
>> Then I compressed that picture and saved the document.
>> To my surprise, there was no "Hi" in the Output window and Immediate window
>> of Visual Studio.
>> Also, there was no "Hi" in soffice.bin.
> Can't confirm: see https://imgur.com/jRyfiat.

But maybe the difference is between "debug" and "dbgutil" (which I use)?

Best regards,
Mike Kaganski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 1769 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20200728/b5ed4430/attachment.key>

More information about the LibreOffice mailing list