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
ef160221
Kaydet (Commit)
ef160221
authored
Ock 10, 2012
tarafından
Marcel Metz
Kaydeden (comit)
David Tardon
Ock 10, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed unused DBG_WARNING{4, 5} macros, replaced DBG_WARNINGFILE
üst
1efa072b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
18 deletions
+7
-18
iconcdlg.cxx
cui/source/dialogs/iconcdlg.cxx
+1
-1
tabdlg.cxx
sfx2/source/dialog/tabdlg.cxx
+2
-2
debug.hxx
tools/inc/tools/debug.hxx
+2
-12
dbggui.cxx
vcl/source/app/dbggui.cxx
+2
-3
No files found.
cui/source/dialogs/iconcdlg.cxx
Dosyayı görüntüle @
ef160221
...
...
@@ -945,7 +945,7 @@ void IconChoiceDialog::PageCreated( sal_uInt16 /*nId*/, IconChoicePage& /*rPage*
SfxItemSet
*
IconChoiceDialog
::
CreateInputItemSet
(
sal_uInt16
)
{
DBG_WARNINGFILE
(
"CreateInputItemSet nicht implementiert
"
);
SAL_INFO
(
"cui"
,
"CreateInputItemSet not implemented
"
);
return
0
;
}
...
...
sfx2/source/dialog/tabdlg.cxx
Dosyayı görüntüle @
ef160221
...
...
@@ -834,7 +834,7 @@ void SfxTabDialog::RemoveTabPage( sal_uInt16 nId )
}
else
{
DBG_WARNINGFILE
(
"TabPage-Id not known"
);
SAL_INFO
(
"sfx2"
,
"TabPage-Id not known"
);
}
}
...
...
@@ -973,7 +973,7 @@ SfxItemSet* SfxTabDialog::CreateInputItemSet( sal_uInt16 )
*/
{
DBG_WARNINGFILE
(
"CreateInputItemSet not implemented"
);
SAL_INFO
(
"sfx2"
,
"CreateInputItemSet not implemented"
);
return
new
SfxAllItemSet
(
SFX_APP
()
->
GetPool
()
);
}
...
...
tools/inc/tools/debug.hxx
Dosyayı görüntüle @
ef160221
...
...
@@ -45,8 +45,8 @@
Because the assertion macros (DBG_ASSERT, DBG_BF_ASSERT) have been used for
true assertions as well as to log warnings, they map to SAL_WARN instead of
standard assert. The warning and error macros (DBG_ASSERTWARNING,
DBG_WARNING, DBG_WARNING1, ..., DBG_WARNING
5, DBG_WARNINGFILE,
DBG_ERRORFILE) all map to
SAL_INFO.
DBG_WARNING, DBG_WARNING1, ..., DBG_WARNING
3, DBG_ERRORFILE) all map to
SAL_INFO.
*/
// ------------
...
...
@@ -457,13 +457,6 @@ public:
SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aWarning, x1, x2)
#define DBG_WARNING3( aWarning, x1, x2, x3 ) \
SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aWarning, x1, x2, x3)
#define DBG_WARNING4( aWarning, x1, x2, x3, x4 ) \
SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aWarning, x1, x2, x3, x4)
#define DBG_WARNING5( aWarning, x1, x2, x3, x4, x5 ) \
SAL_DETAIL_INFO_IF_FORMAT( \
true, "legacy.tools", aWarning, x1, x2, x3, x4, x5)
#define DBG_WARNINGFILE( aWarning ) SAL_DETAIL_INFO_IF_FORMAT( \
true, "legacy.tools", aWarning, __FILE__, __LINE__)
#define DBG_ERRORFILE( aError ) \
SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aError, __FILE__, __LINE__)
...
...
@@ -535,9 +528,6 @@ typedef const sal_Char* (*DbgUsr)(const void* pThis );
#define DBG_WARNING1( aWarning, x1 ) ((void)0)
#define DBG_WARNING2( aWarning, x1, x2 ) ((void)0)
#define DBG_WARNING3( aWarning, x1, x2, x3 ) ((void)0)
#define DBG_WARNING4( aWarning, x1, x2, x3, x4 ) ((void)0)
#define DBG_WARNING5( aWarning, x1, x2, x3, x4, x5 ) ((void)0)
#define DBG_WARNINGFILE( aWarning ) ((void)0)
#define DBG_ERRORFILE( aError ) ((void)0)
#define DBG_TESTSOLARMUTEX() ((void)0)
...
...
vcl/source/app/dbggui.cxx
Dosyayı görüntüle @
ef160221
...
...
@@ -176,9 +176,8 @@ static const sal_Char* pDbgHelpText[] =
"dropdown list.
\n
"
"
\n
"
,
"Warnings
\n
"
,
"DBG_WARNING() can be used to output warnings. DBG_WARNINGFILE() also outputs "
"the file and the line number where the macro is located. DBG_WARNING1() to "
"DBG_WARNING5() can be used to produce formatted output (printf format string). "
"DBG_WARNING() can be used to output warnings. DBG_WARNING1() to "
"DBG_WARNING3() can be used to produce formatted output (printf format string). "
"In case you want to have conditional warnings DBG_ASSERTWARNING() can be "
"used. The warning will be produced if the condition was not met. The first "
"parameter is the condition and the second parameter is the message to be "
...
...
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