summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Metz <mmetz@adrian-broher.net>2012-01-11 10:11:50 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-16 12:51:30 +0100
commitae71f5b4115367b4cc649f3025c43eb733190732 (patch)
tree7baf61d72e867e2173152c15b87344d0f188d8d1
parent157d414977a6b80d2654767419fe2e406024ea04 (diff)
Replaced DBG_ERRORFILE with SAL_INFO.
-rw-r--r--svx/source/dialog/dlgutil.cxx2
-rw-r--r--svx/source/dialog/framelink.cxx2
-rw-r--r--svx/source/dialog/framelinkarray.cxx2
-rw-r--r--svx/source/dialog/frmsel.cxx6
-rw-r--r--svx/source/dialog/txencbox.cxx8
-rw-r--r--svx/source/form/datalistener.cxx2
-rw-r--r--svx/source/form/datanavi.cxx136
-rw-r--r--svx/source/stbctrls/pszctrl.cxx4
-rw-r--r--svx/source/stbctrls/xmlsecctrl.cxx2
-rw-r--r--svx/source/table/tablertfimporter.cxx2
-rw-r--r--svx/source/tbxctrls/tbxcolor.cxx2
11 files changed, 80 insertions, 88 deletions
diff --git a/svx/source/dialog/dlgutil.cxx b/svx/source/dialog/dlgutil.cxx
index dcb2b930a9a7..8e14e6ecb214 100644
--- a/svx/source/dialog/dlgutil.cxx
+++ b/svx/source/dialog/dlgutil.cxx
@@ -79,7 +79,7 @@ bool GetApplyCharUnit( const SfxItemSet& rSet )
}
else
{
- DBG_ERRORFILE( "GetApplyCharUnit(): no module found" );
+ SAL_INFO( "svx", "GetApplyCharUnit(): no module found" );
}
}
}
diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx
index cfe80fbdd4a7..6ef4903384d2 100644
--- a/svx/source/dialog/framelink.cxx
+++ b/svx/source/dialog/framelink.cxx
@@ -560,7 +560,7 @@ void lclLinkLeftEnd(
}
else
{
- DBG_ERRORFILE( "lclLinkLeftEnd - called for invisible frame style" );
+ SAL_INFO( "svx", "lclLinkLeftEnd - called for invisible frame style" );
}
}
diff --git a/svx/source/dialog/framelinkarray.cxx b/svx/source/dialog/framelinkarray.cxx
index 3f2db9302bac..e5767b589af5 100644
--- a/svx/source/dialog/framelinkarray.cxx
+++ b/svx/source/dialog/framelinkarray.cxx
@@ -310,7 +310,6 @@ MergedCellIterator& MergedCellIterator::operator++()
// ============================================================================
-#define DBG_FRAME_ERROR( funcname, error ) DBG_ERRORFILE( "svx::frame::Array::" funcname " - " error )
#define DBG_FRAME_CHECK( cond, funcname, error ) DBG_ASSERT( cond, "svx::frame::Array::" funcname " - " error )
#define DBG_FRAME_CHECK_COL( col, funcname ) DBG_FRAME_CHECK( (col) < GetColCount(), funcname, "invalid column index" )
#define DBG_FRAME_CHECK_ROW( row, funcname ) DBG_FRAME_CHECK( (row) < GetRowCount(), funcname, "invalid row index" )
@@ -1284,7 +1283,6 @@ void Array::DrawArray( OutputDevice& rDev, const Color* pForceColor ) const
#undef DBG_FRAME_CHECK_ROW
#undef DBG_FRAME_CHECK_COL
#undef DBG_FRAME_CHECK
-#undef DBG_FRAME_ERROR
// ============================================================================
diff --git a/svx/source/dialog/frmsel.cxx b/svx/source/dialog/frmsel.cxx
index 37c66234849c..a2daa27e871c 100644
--- a/svx/source/dialog/frmsel.cxx
+++ b/svx/source/dialog/frmsel.cxx
@@ -164,7 +164,7 @@ void FrameBorder::SetState( FrameBorderState eState )
switch( meState )
{
case FRAMESTATE_SHOW:
- DBG_ERRORFILE( "svx::FrameBorder::SetState - use SetCoreStyle to make border visible" );
+ SAL_INFO( "svx", "svx::FrameBorder::SetState - use SetCoreStyle to make border visible" );
break;
case FRAMESTATE_HIDE:
maCoreStyle = SvxBorderLine();
@@ -220,7 +220,7 @@ FrameBorderType FrameBorder::GetKeyboardNeighbor( sal_uInt16 nKeyCode ) const
case KEY_RIGHT: eBorder = meKeyRight; break;
case KEY_UP: eBorder = meKeyTop; break;
case KEY_DOWN: eBorder = meKeyBottom; break;
- default: DBG_ERRORFILE( "svx::FrameBorder::GetKeyboardNeighbor - unknown key code" );
+ default: SAL_INFO( "svx", "svx::FrameBorder::GetKeyboardNeighbor - unknown key code" );
}
return eBorder;
}
@@ -515,7 +515,7 @@ const FrameBorder& FrameSelectorImpl::GetBorder( FrameBorderType eBorder ) const
size_t nIndex = GetIndexFromFrameBorderType( eBorder );
if( nIndex < maAllBorders.size() )
return *maAllBorders[ nIndex ];
- DBG_ERRORFILE( "svx::FrameSelectorImpl::GetBorder - unknown border type" );
+ SAL_INFO( "svx", "svx::FrameSelectorImpl::GetBorder - unknown border type" );
return maTop;
}
diff --git a/svx/source/dialog/txencbox.cxx b/svx/source/dialog/txencbox.cxx
index 9286b39bf6d0..4834c0806397 100644
--- a/svx/source/dialog/txencbox.cxx
+++ b/svx/source/dialog/txencbox.cxx
@@ -199,13 +199,7 @@ void SvxTextEncodingBox::InsertTextEncoding( const rtl_TextEncoding nEnc, sal_uI
if ( rEntry.Len() )
InsertTextEncoding( nEnc, rEntry, nPos );
else
- {
-#ifdef DBG_UTIL
- rtl::OStringBuffer aMsg(RTL_CONSTASCII_STRINGPARAM("SvxTextEncodingBox::InsertTextEncoding: no resource string for text encoding: "));
- aMsg.append(static_cast<sal_Int32>(nEnc));
- DBG_ERRORFILE(aMsg.getStr());
-#endif
- }
+ SAL_INFO( "svx", "SvxTextEncodingBox::InsertTextEncoding: no resource string for text encoding: " << static_cast<sal_Int32>( nEnc ) );
}
//------------------------------------------------------------------------
diff --git a/svx/source/form/datalistener.cxx b/svx/source/form/datalistener.cxx
index cfd3a0c681a4..d4311e743256 100644
--- a/svx/source/form/datalistener.cxx
+++ b/svx/source/form/datalistener.cxx
@@ -88,7 +88,7 @@ namespace svxform
// lang::XEventListener
void SAL_CALL DataListener::disposing( const EventObject& /*Source*/ ) throw (RuntimeException)
{
- DBG_ERRORFILE( "disposing" );
+ SAL_INFO( "svx", "disposing" );
}
//............................................................................
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx
index 6ea99e1e4705..73d5b5495245 100644
--- a/svx/source/form/datanavi.cxx
+++ b/svx/source/form/datanavi.cxx
@@ -473,7 +473,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::DoToolBoxAction(): exception while adding submission" );
+ SAL_INFO( "svx", "XFormsPage::DoToolBoxAction(): exception while adding submission" );
}
}
}
@@ -509,7 +509,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::DoToolBoxAction(): exception while create element" );
+ SAL_INFO( "svx", "XFormsPage::DoToolBoxAction(): exception while create element" );
}
}
else
@@ -523,7 +523,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::DoToolBoxAction(): exception while create attribute" );
+ SAL_INFO( "svx", "XFormsPage::DoToolBoxAction(): exception while create attribute" );
}
}
@@ -535,13 +535,13 @@ namespace svxform
{
if ( e.Code == css::xml::dom::DOMExceptionType_DOMSTRING_SIZE_ERR )
{
- DBG_ERRORFILE( "XFormsPage::DoToolBoxAction(): domexception: size error" );
+ SAL_INFO( "svx", "XFormsPage::DoToolBoxAction(): domexception: size error" );
}
- DBG_ERRORFILE( "XFormsPage::DoToolBoxAction(): domexception while append child" );
+ SAL_INFO( "svx", "XFormsPage::DoToolBoxAction(): domexception while append child" );
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::DoToolBoxAction(): exception while append child" );
+ SAL_INFO( "svx", "XFormsPage::DoToolBoxAction(): exception while append child" );
}
try
@@ -555,7 +555,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::DoToolboxAction(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::DoToolboxAction(): exception caught" );
}
try
@@ -564,7 +564,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::DoToolBoxAction(): exception while get binding for node" );
+ SAL_INFO( "svx", "XFormsPage::DoToolBoxAction(): exception while get binding for node" );
}
pNode = new ItemNode( xNewNode );
}
@@ -581,7 +581,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::DoToolBoxAction(): exception while adding binding" );
+ SAL_INFO( "svx", "XFormsPage::DoToolBoxAction(): exception while adding binding" );
}
}
@@ -612,7 +612,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::DoToolboxAction(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::DoToolboxAction(): exception caught" );
}
}
}
@@ -633,7 +633,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::DoToolboxAction(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::DoToolboxAction(): exception caught" );
}
}
delete pNode;
@@ -676,7 +676,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::DoToolboxAction(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::DoToolboxAction(): exception caught" );
}
}
else if ( DGTBinding == m_eGroup )
@@ -699,7 +699,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::DoToolboxAction(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::DoToolboxAction(): exception caught" );
}
}
else
@@ -716,7 +716,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::DoToolboxAction(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::DoToolboxAction(): exception caught" );
}
}
@@ -1020,7 +1020,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::AddEntry(Ref): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::AddEntry(Ref): exception caught" );
}
}
else // then Binding Page
@@ -1039,7 +1039,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::AddEntry(Ref): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::AddEntry(Ref): exception caught" );
}
}
@@ -1098,7 +1098,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::EditEntry(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::EditEntry(): exception caught" );
}
}
}
@@ -1148,7 +1148,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::RemoveEntry(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::RemoveEntry(): exception caught" );
}
}
else
@@ -1165,7 +1165,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::RemoveEntry(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::RemoveEntry(): exception caught" );
}
QueryBox aQBox( this, SVX_RES( nResId ) );
String sMessText = aQBox.GetMessText();
@@ -1183,7 +1183,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::RemoveEntry(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::RemoveEntry(): exception caught" );
}
}
}
@@ -1263,7 +1263,7 @@ namespace svxform
sRet = LoadInstance( xPropSeq, rImageList );
else
{
- DBG_ERRORFILE( "XFormsPage::SetModel(): invalid instance" );
+ SAL_INFO( "svx", "XFormsPage::SetModel(): invalid instance" );
}
break;
}
@@ -1278,7 +1278,7 @@ namespace svxform
}
catch( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::SetModel(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::SetModel(): exception caught" );
}
break;
}
@@ -1310,7 +1310,7 @@ namespace svxform
}
catch( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::SetModel(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::SetModel(): exception caught" );
}
break;
}
@@ -1357,7 +1357,7 @@ namespace svxform
}
catch( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::SetModel(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::SetModel(): exception caught" );
}
break;
}
@@ -1412,7 +1412,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::LoadInstance(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::LoadInstance(): exception caught" );
}
}
}
@@ -1468,7 +1468,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::EnableMenuItems(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::EnableMenuItems(): exception caught" );
}
}
}
@@ -1510,7 +1510,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "XFormsPage::EnableMenuItems(): exception caught" );
+ SAL_INFO( "svx", "XFormsPage::EnableMenuItems(): exception caught" );
}
}
}
@@ -1662,7 +1662,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
+ SAL_INFO( "svx", "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
}
DBG_ASSERT( xUIHelper.is(), "DataNavigatorWindow::MenuSelectHdl(): no UIHelper" );
@@ -1714,7 +1714,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
+ SAL_INFO( "svx", "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
}
}
}
@@ -1778,7 +1778,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
+ SAL_INFO( "svx", "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
}
}
}
@@ -1798,7 +1798,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
+ SAL_INFO( "svx", "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
}
m_aModelsBox.RemoveEntry( nSelectedPos );
if ( m_aModelsBox.GetEntryCount() <= nSelectedPos )
@@ -1811,7 +1811,7 @@ namespace svxform
}
default:
{
- DBG_ERRORFILE( "DataNavigatorWindow::MenuSelectHdl(): wrong menu item" );
+ SAL_INFO( "svx", "DataNavigatorWindow::MenuSelectHdl(): wrong menu item" );
}
}
}
@@ -1835,7 +1835,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
+ SAL_INFO( "svx", "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
}
ModelSelectHdl( NULL );
m_aTabCtrl.SetCurPageId( nInst );
@@ -1873,7 +1873,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
+ SAL_INFO( "svx", "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
}
pPage->SetInstanceName(sNewName);
pPage->SetInstanceURL(sURL);
@@ -1925,7 +1925,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
+ SAL_INFO( "svx", "DataNavigatorWindow::MenuSelectHdl(): exception caught" );
}
m_aTabCtrl.RemovePage( nId );
m_aTabCtrl.SetCurPageId( TID_INSTANCE );
@@ -1945,13 +1945,13 @@ namespace svxform
}
default:
{
- DBG_ERRORFILE( "DataNavigatorWindow::MenuSelectHdl(): wrong menu item" );
+ SAL_INFO( "svx", "DataNavigatorWindow::MenuSelectHdl(): wrong menu item" );
}
}
}
else
{
- DBG_ERRORFILE( "DataNavigatorWindow::MenuSelectHdl(): wrong button" );
+ SAL_INFO( "svx", "DataNavigatorWindow::MenuSelectHdl(): wrong button" );
}
m_bIsNotifyDisabled = false;
@@ -1980,7 +1980,7 @@ namespace svxform
}
else
{
- DBG_ERRORFILE( "DataNavigatorWindow::MenuActivateHdl(): wrong button" );
+ SAL_INFO( "svx", "DataNavigatorWindow::MenuActivateHdl(): wrong button" );
}
return 0;
}
@@ -2067,7 +2067,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "DataNavigatorWindow::LoadModels(): exception caught" );
+ SAL_INFO( "svx", "DataNavigatorWindow::LoadModels(): exception caught" );
}
}
}
@@ -2099,7 +2099,7 @@ namespace svxform
}
catch( Exception& )
{
- DBG_ERRORFILE( "DataNavigatorWindow::LoadModels(): exception caught" );
+ SAL_INFO( "svx", "DataNavigatorWindow::LoadModels(): exception caught" );
}
}
@@ -2135,11 +2135,11 @@ namespace svxform
}
catch ( NoSuchElementException& )
{
- DBG_ERRORFILE( "DataNavigatorWindow::SetPageModel(): no such element" );
+ SAL_INFO( "svx", "DataNavigatorWindow::SetPageModel(): no such element" );
}
catch( Exception& )
{
- DBG_ERRORFILE( "DataNavigatorWindow::SetPageModel(): unexpected exception" );
+ SAL_INFO( "svx", "DataNavigatorWindow::SetPageModel(): unexpected exception" );
}
}
// -----------------------------------------------------------------------
@@ -2171,7 +2171,7 @@ namespace svxform
CreateInstancePage( xPropSeq );
else
{
- DBG_ERRORFILE( "DataNavigator::InitPages(): invalid instance" );
+ SAL_INFO( "svx", "DataNavigator::InitPages(): invalid instance" );
}
}
else
@@ -2184,11 +2184,11 @@ namespace svxform
}
catch ( NoSuchElementException& )
{
- DBG_ERRORFILE( "DataNavigatorWindow::SetPageModel(): no such element" );
+ SAL_INFO( "svx", "DataNavigatorWindow::SetPageModel(): no such element" );
}
catch( Exception& )
{
- DBG_ERRORFILE( "DataNavigatorWindow::SetPageModel(): unexpected exception" );
+ SAL_INFO( "svx", "DataNavigatorWindow::SetPageModel(): unexpected exception" );
}
}
// -----------------------------------------------------------------------
@@ -2236,7 +2236,7 @@ namespace svxform
sal_uInt16 nPageId = GetNewPageId();
if ( sInstName.isEmpty() )
{
- DBG_ERRORFILE( "DataNavigatorWindow::CreateInstancePage(): instance without name" );
+ SAL_INFO( "svx", "DataNavigatorWindow::CreateInstancePage(): instance without name" );
String sTemp = String::CreateFromAscii( "untitled" );
sTemp += String::CreateFromInt32( nPageId );
sInstName = sTemp;
@@ -2555,7 +2555,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddDataItemDialog::Dtor(): exception caught" );
+ SAL_INFO( "svx", "AddDataItemDialog::Dtor(): exception caught" );
}
}
}
@@ -2676,7 +2676,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "copyPropSet(): exception caught" );
+ SAL_INFO( "svx", "copyPropSet(): exception caught" );
}
}
@@ -2715,7 +2715,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddDataDialog::OKHdl(): exception caught" );
+ SAL_INFO( "svx", "AddDataDialog::OKHdl(): exception caught" );
}
}
else
@@ -2736,7 +2736,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddDataDialog::OKHdl(): exception caught" );
+ SAL_INFO( "svx", "AddDataDialog::OKHdl(): exception caught" );
}
}
// then close the dialog
@@ -2822,7 +2822,7 @@ namespace svxform
}
catch( Exception& )
{
- DBG_ERRORFILE( "AddDataItemDialog::InitFromNode(): exception caught" );
+ SAL_INFO( "svx", "AddDataItemDialog::InitFromNode(): exception caught" );
}
}
else if ( m_pItemNode->m_xPropSet.is() )
@@ -2840,7 +2840,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddDataItemDialog::InitFromNode(): exception caught" );
+ SAL_INFO( "svx", "AddDataItemDialog::InitFromNode(): exception caught" );
}
}
rtl::OUString sTemp;
@@ -2862,7 +2862,7 @@ namespace svxform
}
catch( Exception& )
{
- DBG_ERRORFILE( "AddDataItemDialog::InitFromNode(): exception caught" );
+ SAL_INFO( "svx", "AddDataItemDialog::InitFromNode(): exception caught" );
}
Size a3and1Sz = LogicToPixel( Size( 3, 1 ), MAP_APPFONT );
@@ -2897,7 +2897,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddDataItemDialog::InitFromNode(): exception caught" );
+ SAL_INFO( "svx", "AddDataItemDialog::InitFromNode(): exception caught" );
}
}
}
@@ -2972,7 +2972,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddDataItemDialog::InitDataTypeBox(): exception caught" );
+ SAL_INFO( "svx", "AddDataItemDialog::InitDataTypeBox(): exception caught" );
}
}
}
@@ -3063,7 +3063,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddConditionDialog::Ctor(): exception caught" );
+ SAL_INFO( "svx", "AddConditionDialog::Ctor(): exception caught" );
}
}
@@ -3086,7 +3086,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddDataItemDialog::EditHdl(): exception caught" );
+ SAL_INFO( "svx", "AddDataItemDialog::EditHdl(): exception caught" );
}
NamespaceItemDialog aDlg( this, xNameContnr );
aDlg.Execute();
@@ -3096,7 +3096,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddDataItemDialog::EditHdl(): exception caught" );
+ SAL_INFO( "svx", "AddDataItemDialog::EditHdl(): exception caught" );
}
return 0;
}
@@ -3112,7 +3112,7 @@ namespace svxform
}
catch( const Exception& )
{
- DBG_ERRORFILE( "AddConditionDialog, OKHdl: caught an exception!" );
+ SAL_INFO( "svx", "AddConditionDialog, OKHdl: caught an exception!" );
}
*/
EndDialog( RET_OK );
@@ -3139,7 +3139,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddConditionDialog::ResultHdl(): exception caught" );
+ SAL_INFO( "svx", "AddConditionDialog::ResultHdl(): exception caught" );
}
}
m_aResultWin.SetText( sResult );
@@ -3249,7 +3249,7 @@ namespace svxform
}
else
{
- DBG_ERRORFILE( "NamespaceItemDialog::ClickHdl(): invalid button" );
+ SAL_INFO( "svx", "NamespaceItemDialog::ClickHdl(): invalid button" );
}
SelectHdl( &m_aNamespacesList );
@@ -3281,7 +3281,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "NamespaceItemDialog::OKHdl(): exception caught" );
+ SAL_INFO( "svx", "NamespaceItemDialog::OKHdl(): exception caught" );
}
// and close the dialog
EndDialog( RET_OK );
@@ -3316,7 +3316,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "NamespaceItemDialog::LoadNamespaces(): exception caught" );
+ SAL_INFO( "svx", "NamespaceItemDialog::LoadNamespaces(): exception caught" );
}
}
@@ -3373,7 +3373,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "ManageNamespacesDialog::OKHdl(): exception caught" );
+ SAL_INFO( "svx", "ManageNamespacesDialog::OKHdl(): exception caught" );
}
// no error so close the dialog
@@ -3470,7 +3470,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddSubmissionDialog::OKHdl(): exception caught" );
+ SAL_INFO( "svx", "AddSubmissionDialog::OKHdl(): exception caught" );
}
}
}
@@ -3496,7 +3496,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddSubmissionDialog::OKHdl(): exception caught" );
+ SAL_INFO( "svx", "AddSubmissionDialog::OKHdl(): exception caught" );
}
}
@@ -3550,7 +3550,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddSubmissionDialog::FillAllBoxes(): exception caught" );
+ SAL_INFO( "svx", "AddSubmissionDialog::FillAllBoxes(): exception caught" );
}
}
@@ -3610,7 +3610,7 @@ namespace svxform
}
catch ( Exception& )
{
- DBG_ERRORFILE( "AddSubmissionDialog::FillAllBoxes(): exception caught" );
+ SAL_INFO( "svx", "AddSubmissionDialog::FillAllBoxes(): exception caught" );
}
}
diff --git a/svx/source/stbctrls/pszctrl.cxx b/svx/source/stbctrls/pszctrl.cxx
index 30ffcdccfc3c..31fb4289278a 100644
--- a/svx/source/stbctrls/pszctrl.cxx
+++ b/svx/source/stbctrls/pszctrl.cxx
@@ -266,7 +266,7 @@ void SvxPosSizeStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eSt
pImp->bSize = sal_False;
else
{
- DBG_ERRORFILE("unknown slot id");
+ SAL_INFO( "svx","unknown slot id");
}
}
else if ( pState->ISA( SfxPointItem ) )
@@ -293,7 +293,7 @@ void SvxPosSizeStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eSt
}
else
{
- DBG_ERRORFILE( "invalid item type" );
+ SAL_INFO( "svx", "invalid item type" );
pImp->bPos = sal_False;
pImp->bSize = sal_False;
pImp->bTable = sal_False;
diff --git a/svx/source/stbctrls/xmlsecctrl.cxx b/svx/source/stbctrls/xmlsecctrl.cxx
index 014df6d61030..bc5df404c3df 100644
--- a/svx/source/stbctrls/xmlsecctrl.cxx
+++ b/svx/source/stbctrls/xmlsecctrl.cxx
@@ -91,7 +91,7 @@ void XmlSecStatusBarControl::StateChanged( sal_uInt16, SfxItemState eState, cons
}
else
{
- DBG_ERRORFILE( "+XmlSecStatusBarControl::StateChanged(): invalid item type" );
+ SAL_INFO( "svx", "+XmlSecStatusBarControl::StateChanged(): invalid item type" );
mpImpl->mnState = (sal_uInt16)SIGNATURESTATE_UNKNOWN;
}
diff --git a/svx/source/table/tablertfimporter.cxx b/svx/source/table/tablertfimporter.cxx
index da15cc3fc6d7..a908595c2c28 100644
--- a/svx/source/table/tablertfimporter.cxx
+++ b/svx/source/table/tablertfimporter.cxx
@@ -207,7 +207,7 @@ IMPL_LINK( SdrTableRTFParser, RTFImportHdl, ImportInfo*, pInfo )
case RTFIMP_INSERTPARA:
break;
default:
- DBG_ERRORFILE("unknown ImportInfo.eState");
+ SAL_INFO( "svx","unknown ImportInfo.eState");
}
return 0;
}
diff --git a/svx/source/tbxctrls/tbxcolor.cxx b/svx/source/tbxctrls/tbxcolor.cxx
index 697f6dd9f867..4961e756ee2d 100644
--- a/svx/source/tbxctrls/tbxcolor.cxx
+++ b/svx/source/tbxctrls/tbxcolor.cxx
@@ -68,7 +68,7 @@ namespace svx
}
catch ( Exception& )
{
- DBG_ERRORFILE( "ToolboxAccess::Ctor(): exception" );
+ SAL_INFO( "svx", "ToolboxAccess::Ctor(): exception" );
}
}
}