Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
662f26a6
Kaydet (Commit)
662f26a6
authored
Kas 29, 2013
tarafından
Herbert Dürr
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i123774# the DBG_ERROR/DBG_WARN/DBG_TRACE macros should always show file and line infO
üst
912bfc38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
24 deletions
+9
-24
debug.hxx
tools/inc/tools/debug.hxx
+9
-24
No files found.
tools/inc/tools/debug.hxx
Dosyayı görüntüle @
662f26a6
...
@@ -345,23 +345,11 @@ TOOLS_DLLPUBLIC void DbgOutTypef( sal_uInt16 nOutType, const sal_Char* pFStr, ..
...
@@ -345,23 +345,11 @@ TOOLS_DLLPUBLIC void DbgOutTypef( sal_uInt16 nOutType, const sal_Char* pFStr, ..
TOOLS_DLLPUBLIC
void
DbgOutf
(
const
sal_Char
*
pFStr
,
...
);
TOOLS_DLLPUBLIC
void
DbgOutf
(
const
sal_Char
*
pFStr
,
...
);
TOOLS_DLLPUBLIC
void
ImpDbgOutfBuf
(
sal_Char
*
pBuf
,
const
sal_Char
*
pFStr
,
...
);
TOOLS_DLLPUBLIC
void
ImpDbgOutfBuf
(
sal_Char
*
pBuf
,
const
sal_Char
*
pFStr
,
...
);
inline
void
DbgTrace
(
const
sal_Char
*
pMsg
,
#define DbgTrace( msg) do{ DbgOut( msg, DBG_OUT_TRACE, __FILE__, __LINE__ ); } while(0)
const
sal_Char
*
pFile
=
NULL
,
sal_uInt16
nLine
=
0
)
{
DbgOut
(
pMsg
,
DBG_OUT_TRACE
,
pFile
,
nLine
);
}
inline
void
DbgWarning
(
const
sal_Char
*
pMsg
,
#define DbgWarning( msg) do{ DbgOut( msg, DBG_OUT_WARNING, __FILE__, __LINE__ ); } while(0)
const
sal_Char
*
pFile
=
NULL
,
sal_uInt16
nLine
=
0
)
{
DbgOut
(
pMsg
,
DBG_OUT_WARNING
,
pFile
,
nLine
);
}
inline
void
DbgError
(
const
sal_Char
*
pMsg
,
#define DbgError( msg) do{ DbgOut( msg, DBG_OUT_ERROR, __FILE__, __LINE__ ); } while(0)
const
sal_Char
*
pFile
=
NULL
,
sal_uInt16
nLine
=
0
)
{
DbgOut
(
pMsg
,
DBG_OUT_ERROR
,
pFile
,
nLine
);
}
// --- Dbg-Test-Functions ---
// --- Dbg-Test-Functions ---
...
@@ -473,8 +461,7 @@ do \
...
@@ -473,8 +461,7 @@ do \
{ \
{ \
if ( !( sCon ) ) \
if ( !( sCon ) ) \
{ \
{ \
DbgWarning( aWarning, __FILE__, \
DbgWarning( aWarning); \
__LINE__ ); \
} \
} \
} \
} \
} while(0)
} while(0)
...
@@ -486,8 +473,7 @@ do \
...
@@ -486,8 +473,7 @@ do \
{ \
{ \
if ( !( sCon ) ) \
if ( !( sCon ) ) \
{ \
{ \
DbgError( aError, \
DbgError( aError); \
__FILE__, __LINE__ ); \
} \
} \
} \
} \
} while(0)
} while(0)
...
@@ -498,8 +484,7 @@ do \
...
@@ -498,8 +484,7 @@ do \
{ \
{ \
if ( !( sCon ) ) \
if ( !( sCon ) ) \
{ \
{ \
DbgError( aError, \
DbgError( aError); \
__FILE__, __LINE__ ); \
} \
} \
} while(0)
} while(0)
#else
#else
...
@@ -561,7 +546,7 @@ do \
...
@@ -561,7 +546,7 @@ do \
do \
do \
{ \
{ \
if ( DbgIsTraceOut() ) \
if ( DbgIsTraceOut() ) \
DbgTrace( aTrace
, __FILE__, __LINE__ );
\
DbgTrace( aTrace
);
\
} while(0)
} while(0)
#define DBG_WARNING( aWarning ) \
#define DBG_WARNING( aWarning ) \
...
@@ -619,7 +604,7 @@ do \
...
@@ -619,7 +604,7 @@ do \
do \
do \
{ \
{ \
if ( DbgIsWarningOut() ) \
if ( DbgIsWarningOut() ) \
DbgWarning( aWarning
, __FILE__, __LINE__ );
\
DbgWarning( aWarning
);
\
} while(0)
} while(0)
#define DBG_ERROR( aError ) \
#define DBG_ERROR( aError ) \
...
@@ -677,7 +662,7 @@ do \
...
@@ -677,7 +662,7 @@ do \
do \
do \
{ \
{ \
if ( DbgIsErrorOut() ) \
if ( DbgIsErrorOut() ) \
DbgError( aError
, __FILE__, __LINE__ );
\
DbgError( aError
);
\
} while(0)
} while(0)
#define DBG_TESTSOLARMUTEX() \
#define DBG_TESTSOLARMUTEX() \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment