summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMarcel Metz <mmetz@adrian-broher.net>2012-01-11 10:14:13 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-16 12:51:33 +0100
commita18123fb97e7c69a7fac6724aaa3a8e2440dae98 (patch)
tree36546217f7fe0f20c6f07e306d0ad68a880ac82e /cui
parent268050960a16af2b404ef3ba42b6185047027e2d (diff)
Replaced DBG_ERRORFILE with SAL_INFO.
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfg.cxx4
-rw-r--r--cui/source/dialogs/iconcdlg.cxx4
-rw-r--r--cui/source/dialogs/srchxtra.cxx7
-rw-r--r--cui/source/factory/dlgfact.cxx2
-rw-r--r--cui/source/options/cfgchart.cxx4
-rw-r--r--cui/source/options/optctl.cxx2
-rw-r--r--cui/source/options/optgdlg.cxx4
-rw-r--r--cui/source/options/optjava.cxx8
-rw-r--r--cui/source/options/optlingu.cxx4
-rw-r--r--cui/source/options/optpath.cxx4
-rw-r--r--cui/source/options/treeopt.cxx10
-rw-r--r--cui/source/tabpages/chardlg.cxx4
-rw-r--r--cui/source/tabpages/paragrph.cxx2
13 files changed, 24 insertions, 35 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 35de8426617a..f744d3b00a08 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -1921,7 +1921,7 @@ void SvxConfigPage::Reset( const SfxItemSet& )
if ( !_inout_rxFrame.is() )
{
- DBG_ERRORFILE( "SvxConfigPage::GetFrameWithDefaultAndIdentify(): no frame found!" );
+ SAL_INFO( "cui", "SvxConfigPage::GetFrameWithDefaultAndIdentify(): no frame found!" );
return sModuleID;
}
@@ -3293,7 +3293,7 @@ void SvxToolbarConfigPage::MoveEntry( bool bMoveUp )
((ToolbarSaveInData*)GetSaveInData())->ApplyToolbar( pToolbar );
else
{
- DBG_ERRORFILE( "SvxToolbarConfigPage::MoveEntry(): no entry" );
+ SAL_INFO( "cui", "SvxToolbarConfigPage::MoveEntry(): no entry" );
UpdateButtonStates();
}
}
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index 73921d70cfd5..1c162932e48a 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -875,7 +875,7 @@ const sal_uInt16* IconChoiceDialog::GetInputRanges( const SfxItemPool& rPool )
{
if ( pSet )
{
- DBG_ERRORFILE( "Set bereits vorhanden!" );
+ SAL_INFO( "cui", "Set does already exist!" );
return pSet->GetRanges();
}
@@ -1041,7 +1041,7 @@ void IconChoiceDialog::Start_Impl()
const SfxItemSet* IconChoiceDialog::GetRefreshedSet()
{
- DBG_ERRORFILE( "GetRefreshedSet nicht implementiert" );
+ SAL_INFO( "cui", "GetRefreshedSet not implemented" );
return 0;
}
diff --git a/cui/source/dialogs/srchxtra.cxx b/cui/source/dialogs/srchxtra.cxx
index 2e36a529f5f8..34aaf9e48c79 100644
--- a/cui/source/dialogs/srchxtra.cxx
+++ b/cui/source/dialogs/srchxtra.cxx
@@ -186,12 +186,7 @@ SvxSearchAttributeDialog::SvxSearchAttributeDialog( Window* pParent,
if ( RESARRAY_INDEX_NOTFOUND != nId )
pEntry = aAttrLB.SvTreeListBox::InsertEntry( aAttrNames.GetString(nId) );
else
- {
- rtl::OStringBuffer sError(
- RTL_CONSTASCII_STRINGPARAM("no resource for slot id\nslot = "));
- sError.append(static_cast<sal_Int32>(nSlot));
- DBG_ERRORFILE(sError.getStr());
- }
+ SAL_INFO( "cui", "no resource for slot id\nslot = " << static_cast<sal_Int32>(nSlot) );
if ( pEntry )
{
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx
index 55b2b727fbe5..8425b809cb1c 100644
--- a/cui/source/factory/dlgfact.cxx
+++ b/cui/source/factory/dlgfact.cxx
@@ -189,7 +189,7 @@ IMPL_LINK( VclAbstractDialog2_Impl, EndDialogHdl, Dialog*, pDlg )
{
if ( pDlg != m_pDlg )
{
- DBG_ERRORFILE( "VclAbstractDialog2_Impl::EndDialogHdl(): wrong dialog" );
+ SAL_INFO( "cui", "VclAbstractDialog2_Impl::EndDialogHdl(): wrong dialog" );
}
m_aEndDlgHdl.Call( this );
diff --git a/cui/source/options/cfgchart.cxx b/cui/source/options/cfgchart.cxx
index bac4fb45bfc8..edef3a1fdcc5 100644
--- a/cui/source/options/cfgchart.cxx
+++ b/cui/source/options/cfgchart.cxx
@@ -57,7 +57,7 @@ const XColorEntry & SvxChartColorTable::operator[]( size_t _nIndex ) const
{
if ( _nIndex >= m_aColorEntries.size() )
{
- DBG_ERRORFILE( "SvxChartColorTable::[] invalid index" );
+ SAL_INFO( "cui", "SvxChartColorTable::[] invalid index" );
return m_aColorEntries[ 0 ];
}
@@ -68,7 +68,7 @@ ColorData SvxChartColorTable::getColorData( size_t _nIndex ) const
{
if ( _nIndex >= m_aColorEntries.size() )
{
- DBG_ERRORFILE( "SvxChartColorTable::getColorData invalid index" );
+ SAL_INFO( "cui", "SvxChartColorTable::getColorData invalid index" );
return COL_BLACK;
}
diff --git a/cui/source/options/optctl.cxx b/cui/source/options/optctl.cxx
index 2589874d1270..51bf7ad39ccc 100644
--- a/cui/source/options/optctl.cxx
+++ b/cui/source/options/optctl.cxx
@@ -148,7 +148,7 @@ void SvxCTLOptionsPage::Reset( const SfxItemSet& )
break;
default:
- DBG_ERRORFILE( "SvxCTLOptionsPage::Reset(): invalid movement enum" );
+ SAL_INFO( "cui", "SvxCTLOptionsPage::Reset(): invalid movement enum" );
}
sal_uInt16 nPos = (sal_uInt16)aCTLOptions.GetCTLTextNumerals();
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index bc86de6241df..c55e8e4489a4 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -1857,9 +1857,7 @@ IMPL_LINK( OfaLanguagesTabPage, SupportHdl, CheckBox*, pBox )
m_bOldCtl = bCheck;
}
else
- {
- DBG_ERRORFILE( "OfaLanguagesTabPage::SupportHdl(): wrong pBox" );
- }
+ SAL_INFO( "cui", "OfaLanguagesTabPage::SupportHdl(): wrong pBox" );
return 0;
}
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index a32869e42652..43f2373ffb8c 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -259,9 +259,7 @@ IMPL_LINK( SvxJavaOptionsPage, AddHdl_Impl, PushButton *, EMPTYARG )
}
catch ( Exception& )
{
-#ifdef DBG_UTIL
- DBG_ERRORFILE( "SvxJavaOptionsPage::AddHdl_Impl(): caught exception" );
-#endif
+ SAL_INFO( "cui", "SvxJavaOptionsPage::AddHdl_Impl(): caught exception" );
}
return 0;
@@ -381,9 +379,7 @@ IMPL_LINK( SvxJavaOptionsPage, StartFolderPickerHdl, void*, EMPTYARG )
}
catch ( Exception& )
{
-#ifdef DBG_UTIL
- DBG_ERRORFILE( "SvxJavaOptionsPage::StartFolderPickerHdl(): caught exception" );
-#endif
+ SAL_INFO( "cui", "SvxJavaOptionsPage::StartFolderPickerHdl(): caught exception" );
}
return 0L;
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index 736bfe0b5936..8a800d381af1 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -187,12 +187,12 @@ sal_Bool KillFile_Impl( const String& rURL )
}
catch( ::com::sun::star::ucb::CommandAbortedException& )
{
- DBG_ERRORFILE( "KillFile: CommandAbortedException" );
+ SAL_INFO( "cui", "KillFile: CommandAbortedException" );
bRet = sal_False;
}
catch( ... )
{
- DBG_ERRORFILE( "KillFile: Any other exception" );
+ SAL_INFO( "cui", "KillFile: Any other exception" );
bRet = sal_False;
}
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index c6f6b7341780..7abc6fffa102 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -483,7 +483,7 @@ void SvxPathTabPage::ChangeCurrentEntry( const String& _rFolder )
SvLBoxEntry* pEntry = pPathBox->GetCurEntry();
if ( !pEntry )
{
- DBG_ERRORFILE( "SvxPathTabPage::ChangeCurrentEntry(): no entry" );
+ SAL_INFO( "cui", "SvxPathTabPage::ChangeCurrentEntry(): no entry" );
return;
}
@@ -646,7 +646,7 @@ IMPL_LINK( SvxPathTabPage, PathHdl_Impl, PushButton *, EMPTYARG )
}
catch( Exception& )
{
- DBG_ERRORFILE( "SvxPathTabPage::PathHdl_Impl: exception from folder picker" );
+ SAL_INFO( "cui", "SvxPathTabPage::PathHdl_Impl: exception from folder picker" );
}
}
return 0;
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 9d02f0fe4d84..64fe2c50680f 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -1637,7 +1637,7 @@ rtl::OUString getCurrentFactory_Impl( const Reference< XFrame >& _xFrame )
}
catch ( Exception& )
{
- DBG_ERRORFILE( "getActiveModule_Impl(): exception of XModuleManager::identify()" );
+ SAL_INFO( "cui", "getActiveModule_Impl(): exception of XModuleManager::identify()" );
}
}
@@ -2095,7 +2095,7 @@ rtl::OUString OfaTreeOptionsDialog::GetModuleIdentifier(
}
catch ( Exception& )
{
- DBG_ERRORFILE( "OfaTreeOptionsDialog::GetModuleIdentifier(): exception of XModuleManager::identify()" );
+ SAL_INFO( "cui", "OfaTreeOptionsDialog::GetModuleIdentifier(): exception of XModuleManager::identify()" );
}
}
return sModule;
@@ -2474,11 +2474,11 @@ void ExtensionsTabPage::CreateDialogWithHandler()
}
catch ( ::com::sun::star::lang::IllegalArgumentException& )
{
- DBG_ERRORFILE( "ExtensionsTabPage::CreateDialogWithHandler(): illegal argument" );
+ SAL_INFO( "cui", "ExtensionsTabPage::CreateDialogWithHandler(): illegal argument" );
}
catch ( Exception& )
{
- DBG_ERRORFILE( "ExtensionsTabPage::CreateDialogWithHandler(): exception of XDialogProvider2::createDialogWithHandler()" );
+ SAL_INFO( "cui", "ExtensionsTabPage::CreateDialogWithHandler(): exception of XDialogProvider2::createDialogWithHandler()" );
}
}
@@ -2495,7 +2495,7 @@ sal_Bool ExtensionsTabPage::DispatchAction( const rtl::OUString& rAction )
}
catch ( Exception& )
{
- DBG_ERRORFILE( "ExtensionsTabPage::DispatchAction(): exception of XDialogEventHandler::callHandlerMethod()" );
+ SAL_INFO( "cui", "ExtensionsTabPage::DispatchAction(): exception of XDialogEventHandler::callHandlerMethod()" );
}
}
return bRet;
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index 9d320b4410a1..adb659740f3f 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -657,7 +657,7 @@ void SvxCharNamePage::FillStyleBox_Impl( const FontNameBox* pNameBox )
pStyleBox = m_pCTLFontStyleLB;
else
{
- DBG_ERRORFILE( "invalid font name box" );
+ SAL_INFO( "cui", "invalid font name box" );
return;
}
@@ -704,7 +704,7 @@ void SvxCharNamePage::FillSizeBox_Impl( const FontNameBox* pNameBox )
}
else
{
- DBG_ERRORFILE( "invalid font name box" );
+ SAL_INFO( "cui", "invalid font name box" );
return;
}
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index d874c326c57a..2bdebeb25836 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -1343,7 +1343,7 @@ IMPL_LINK( SvxParaAlignTabPage, TextDirectionHdl_Impl, ListBox*, EMPTYARG )
case FRMDIR_ENVIRONMENT : /* do nothing */ break;
default:
{
- DBG_ERRORFILE( "SvxParaAlignTabPage::TextDirectionHdl_Impl(): other directions not supported" );
+ SAL_INFO( "cui", "SvxParaAlignTabPage::TextDirectionHdl_Impl(): other directions not supported" );
}
}