diff options
Diffstat (limited to 'sal/osl/w32/signal.cxx')
-rw-r--r-- | sal/osl/w32/signal.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sal/osl/w32/signal.cxx b/sal/osl/w32/signal.cxx index a74baaefc057..de2201f8d8a6 100644 --- a/sal/osl/w32/signal.cxx +++ b/sal/osl/w32/signal.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -40,6 +41,7 @@ #endif #include <ErrorRep.h> #include <systools/win32/uwinapi.h> +#include <sal/macros.h> typedef struct _oslSignalHandlerImpl { @@ -186,7 +188,7 @@ static BOOL ReportCrash( LPEXCEPTION_POINTERS lpEP ) StartupInfo.cb = sizeof(StartupInfo.cb); - sntprintf( szBuffer, elementsof(szBuffer), + sntprintf( szBuffer, SAL_N_ELEMENTS(szBuffer), _T("%s -p %u -excp 0x%p -t %u%s"), static_cast<sal_Char*>( aPath ), GetCurrentProcessId(), @@ -434,3 +436,5 @@ sal_Bool SAL_CALL osl_setErrorReporting( sal_Bool bEnable ) return bOld; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |