[Libreoffice] dbgmacros.hxx / dbgmacros.cxx

Noel Power nopower at novell.com
Tue Apr 5 01:50:39 PDT 2011


Hi Christina
\On 05/04/11 09:11, Christina Roßmanith wrote:
> Hi,
>
> after removal of comments it becomes clear that DbgAssert() is empty. 
> It is used for the definition of PRE_CONDITION (unused), 
> POST_CONDITION (used in classfactory.cxx and propertyhdl.cxx) and 
> ENSURE (used at several places).
>
> I think PRE_CONDITION, POST_CONDITION and ENSURE can be removed from 
> the code and afterwards dbgmacros.{cxx,hxx} can be removed from the 
> code base. Should the macros be replaced by some more recent macros?
the OSL_XXXX equivalent macros probably are a suitable replacement(s), 
see http://opengrok.libreoffice.org/xref/ure/sal/inc/osl/diagnose.h#53

Noel


More information about the LibreOffice mailing list