summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-19 11:55:44 +0200
committerNoel Grandin <noel@peralex.com>2015-10-19 13:08:29 +0200
commit39e63bfac528d8c5c002ee8fef4a1e5d7181b826 (patch)
tree8e8dc14e1719c361ccf0cdaccde66b3b7862b1e7 /svtools
parent367105e0248c7b80b60b2554d04f5f248b4259b3 (diff)
convert remaing DBG_WARNING to SAL_INFO
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/fileview.cxx6
-rw-r--r--svtools/source/contnr/imivctl2.cxx4
-rw-r--r--svtools/source/contnr/treelistbox.cxx2
-rw-r--r--svtools/source/control/asynclink.cxx2
-rw-r--r--svtools/source/control/fmtfield.cxx2
-rw-r--r--svtools/source/misc/transfer.cxx8
6 files changed, 12 insertions, 12 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index b8d6ec17b1d1..7c84374a7eb5 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -956,12 +956,12 @@ bool ViewTabListBox_Impl::Kill( const OUString& rContent )
}
catch( ::com::sun::star::ucb::CommandAbortedException const & )
{
- DBG_WARNING( "CommandAbortedException" );
+ SAL_INFO( "svtools", "CommandAbortedException" );
bRet = false;
}
catch( Exception const & )
{
- DBG_WARNING( "Any other exception" );
+ SAL_INFO( "svtools", "Any other exception" );
bRet = false;
}
@@ -2034,7 +2034,7 @@ bool CompareSortingData_Impl( SortingData_Impl* const aOne, SortingData_Impl* co
bEqual = true;
break;
default:
- DBG_WARNING( "CompareSortingData_Impl: Compare unknown type!" );
+ SAL_INFO( "svtools", "CompareSortingData_Impl: Compare unknown type!" );
bRet = false;
}
}
diff --git a/svtools/source/contnr/imivctl2.cxx b/svtools/source/contnr/imivctl2.cxx
index 9ca22786a81a..da90bfe49eb0 100644
--- a/svtools/source/contnr/imivctl2.cxx
+++ b/svtools/source/contnr/imivctl2.cxx
@@ -473,12 +473,12 @@ void IcnCursor_Impl::SetDeltas()
if( !nDeltaHeight )
{
nDeltaHeight = 1;
- DBG_WARNING("SetDeltas:Bad height");
+ SAL_INFO("svtools", "SetDeltas:Bad height");
}
if( !nDeltaWidth )
{
nDeltaWidth = 1;
- DBG_WARNING("SetDeltas:Bad width");
+ SAL_INFO("svctools", "SetDeltas:Bad width");
}
}
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index fe4035f9e0d7..4aaf9f46569b 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -3817,7 +3817,7 @@ std::unique_ptr<PopupMenu> SvTreeListBox::CreateContextMenu()
void SvTreeListBox::ExcecuteContextMenuAction( sal_uInt16 )
{
- DBG_WARNING( "SvTreeListBox::ExcecuteContextMenuAction(): now there's happening nothing!" );
+ SAL_INFO( "svtools", "SvTreeListBox::ExcecuteContextMenuAction(): now there's happening nothing!" );
}
void SvTreeListBox::EnableContextMenuHandling()
diff --git a/svtools/source/control/asynclink.cxx b/svtools/source/control/asynclink.cxx
index 5b4d6a9936ac..1ce6f4418855 100644
--- a/svtools/source/control/asynclink.cxx
+++ b/svtools/source/control/asynclink.cxx
@@ -37,7 +37,7 @@ void AsynchronLink::Call( void* pObj, bool bAllowDoubles, bool bUseTimer )
{
#ifdef DBG_UTIL
if ( bUseTimer || !_bInCall )
- DBG_WARNING( "Recursives Call. Eher ueber Timer. TLX Fragen" );
+ SAL_INFO( "svtools", "Recursives Call. Eher ueber Timer. TLX Fragen" );
#endif
if( _aLink.IsSet() )
{
diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx
index df0c0cd1514c..84bc9d7dfd0a 100644
--- a/svtools/source/control/fmtfield.cxx
+++ b/svtools/source/control/fmtfield.cxx
@@ -348,7 +348,7 @@ void FormattedField::SetTextFormatted(const OUString& rStr)
#if defined DBG_UTIL
if (ImplGetFormatter()->IsTextFormat(m_nFormatKey))
- DBG_WARNING("FormattedField::SetTextFormatted : valid only with text formats !");
+ SAL_INFO("svtools", "FormattedField::SetTextFormatted : valid only with text formats !");
#endif
m_sCurrentTextValue = rStr;
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx
index 9d23b09376cf..3a166ed9e781 100644
--- a/svtools/source/misc/transfer.cxx
+++ b/svtools/source/misc/transfer.cxx
@@ -1917,11 +1917,11 @@ bool TransferableDataHelper::GetINetBookmark( const ::com::sun::star::datatransf
if( !nLen && aString[ 0 ] != '0' )
{
- DBG_WARNING( "SOLK: 1. len=0" );
+ SAL_INFO( "svtools", "SOLK: 1. len=0" );
}
if( nStart == -1 || nLen > aString.getLength() - nStart - 3 )
{
- DBG_WARNING( "SOLK: 1. illegal start or wrong len" );
+ SAL_INFO( "svtools", "SOLK: 1. illegal start or wrong len" );
}
aURL = aString.copy( nStart + 1, nLen );
@@ -1931,11 +1931,11 @@ bool TransferableDataHelper::GetINetBookmark( const ::com::sun::star::datatransf
if( !nLen && aString[ 0 ] != '0' )
{
- DBG_WARNING( "SOLK: 2. len=0" );
+ SAL_INFO( "svtools", "SOLK: 2. len=0" );
}
if( nStart == -1 || nLen > aString.getLength() - nStart - 1 )
{
- DBG_WARNING( "SOLK: 2. illegal start or wrong len" );
+ SAL_INFO( "svtools", "SOLK: 2. illegal start or wrong len" );
}
aDesc = aString.copy( nStart+1, nLen );