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


On 07/23/2012 05:42 PM, Eike Rathke wrote:
On Monday, 2012-07-23 16:01:56 +0200, Philipp Riemer wrote:
But I do not know what the general opinion of the LO developers for
that cases is... Maybe they are happy without any logging in there...
Whould love to hear from the others what they think.

In general such cases deserve a SAL_WARN,

...or, depending on the nature of the event that caused the beep, merely a SAL_LOG. See <http://wiki.documentfoundation.org/Development#Assertions_and_Logging> for a (potentially unhelpful) differentiation of the two's intended uses.

The general idea is that SAL_WARN is for events that "do not normally happen." And something like "in the Basic IDE, user attempts to set a breakpoint on a line that contains no code" (whether or not that is something that used to trigger a beep; I did not check) in my interpretation does not fall into that category and thus should be logged with SAL_LOG. But a somewhat gray area indeed...

Stephan

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.