summaryrefslogtreecommitdiffstats
path: root/vcl
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 /vcl
parentReplaced DBG_ERRORFILE with SAL_INFO. (diff)
downloadcore-a18123fb97e7c69a7fac6724aaa3a8e2440dae98.tar.gz
core-a18123fb97e7c69a7fac6724aaa3a8e2440dae98.zip
Replaced DBG_ERRORFILE with SAL_INFO.
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/settings.cxx2
-rw-r--r--vcl/source/control/field2.cxx4
-rw-r--r--vcl/source/gdi/outdev.cxx4
-rw-r--r--vcl/source/gdi/outmap.cxx4
-rw-r--r--vcl/source/gdi/print3.cxx2
-rw-r--r--vcl/source/window/btndlg.cxx3
6 files changed, 8 insertions, 11 deletions
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx
index e3c7f2732e8c..00137a2961a6 100644
--- a/vcl/source/app/settings.cxx
+++ b/vcl/source/app/settings.cxx
@@ -1685,7 +1685,7 @@ sal_uLong AllSettings::Update( sal_uLong nFlags, const AllSettings& rSet )
if ( nFlags & SETTINGS_INTERNATIONAL )
{
// Nothing, class International is gone.
- DBG_ERRORFILE("AllSettings::Update: who calls with SETTINGS_INTERNATIONAL and why? You're flogging a dead horse.");
+ SAL_INFO( "vcl","AllSettings::Update: who calls with SETTINGS_INTERNATIONAL and why? You're flogging a dead horse.");
}
if ( nFlags & SETTINGS_LOCALE )
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index 6dda5e8c528e..e93b78e8188d 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -26,8 +26,6 @@
*
************************************************************************/
-#include <tools/debug.hxx>
-
#include <tools/rc.h>
#include <vcl/svapp.hxx>
#include <vcl/sound.hxx>
@@ -170,7 +168,7 @@ static int ImplIsPatternChar( xub_Unicode cChar, sal_Char cEditMask )
}
catch ( ::com::sun::star::uno::Exception& )
{
- DBG_ERRORFILE( "ImplIsPatternChar: Exception caught!" );
+ SAL_INFO( "vcl", "ImplIsPatternChar: Exception caught!" );
return sal_False;
}
diff --git a/vcl/source/gdi/outdev.cxx b/vcl/source/gdi/outdev.cxx
index 45887a9f5d91..44b2758b1ed7 100644
--- a/vcl/source/gdi/outdev.cxx
+++ b/vcl/source/gdi/outdev.cxx
@@ -436,7 +436,7 @@ OutputDevice::~OutputDevice()
ImplObjStack* pData = mpObjStack;
if ( pData )
{
- DBG_ERRORFILE( "OutputDevice::~OutputDevice(): OutputDevice::Push() calls != OutputDevice::Pop() calls" );
+ SAL_INFO( "vcl", "OutputDevice::~OutputDevice(): OutputDevice::Push() calls != OutputDevice::Pop() calls" );
while ( pData )
{
ImplObjStack* pTemp = pData;
@@ -2461,7 +2461,7 @@ void OutputDevice::Pop()
if ( !pData )
{
- DBG_ERRORFILE( "OutputDevice::Pop() without OutputDevice::Push()" );
+ SAL_INFO( "vcl", "OutputDevice::Pop() without OutputDevice::Push()" );
return;
}
diff --git a/vcl/source/gdi/outmap.cxx b/vcl/source/gdi/outmap.cxx
index 6fca015a7066..abda8cbdfbee 100644
--- a/vcl/source/gdi/outmap.cxx
+++ b/vcl/source/gdi/outmap.cxx
@@ -871,11 +871,11 @@ void OutputDevice::SetRelativeMapMode( const MapMode& rNewMapMode )
{
if ( eOld > MAP_PIXEL )
{
- DBG_ERRORFILE( "Not implemented MapUnit" );
+ SAL_INFO( "vcl", "Not implemented MapUnit" );
}
else if ( eNew > MAP_PIXEL )
{
- DBG_ERRORFILE( "Not implemented MapUnit" );
+ SAL_INFO( "vcl", "Not implemented MapUnit" );
}
else
{
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index d85321bea28b..0c484c5c4a0a 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -248,7 +248,7 @@ static rtl::OUString queryFile( Printer* pPrinter )
}
catch (const lang::IllegalArgumentException&)
{
- DBG_ERRORFILE( "caught IllegalArgumentException when registering filter\n" );
+ SAL_INFO( "vcl", "caught IllegalArgumentException when registering filter\n" );
}
if( xFilePicker->execute() == ui::dialogs::ExecutableDialogResults::OK )
diff --git a/vcl/source/window/btndlg.cxx b/vcl/source/window/btndlg.cxx
index d97cabb124bf..d19196fd6165 100644
--- a/vcl/source/window/btndlg.cxx
+++ b/vcl/source/window/btndlg.cxx
@@ -27,7 +27,6 @@
************************************************************************/
-#include <tools/debug.hxx>
#include <tools/rc.h>
#include <svdata.hxx>
@@ -345,7 +344,7 @@ void ButtonDialog::RemoveButton( sal_uInt16 nId )
}
if (it == maItemList.end())
- DBG_ERRORFILE( "ButtonDialog::RemoveButton(): ButtonId invalid" );
+ SAL_INFO( "vcl", "ButtonDialog::RemoveButton(): ButtonId invalid" );
}
void ButtonDialog::Clear()