summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorRadu Ioan <ioan.radu.g@gmail.com>2013-02-06 00:10:23 +0200
committerThorsten Behrens <tbehrens@suse.com>2013-02-19 16:02:40 +0000
commitef1d096ddc311a2fd821d4076421c4a8f8d63abf (patch)
tree5736a7b4193228c621a4a51b1dc713ec9b932ded /extensions
parenta09f11715be53587ee2b0368e19f45cc85fb6cf1 (diff)
fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT
- replaced osl_trace with sal_info - added new log areas to log-area.dox Change-Id: Ib47c4b4c9604bca1f8a635dd01bb89702b47b591 Reviewed-on: https://gerrit.libreoffice.org/2010 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/check/updateprotocoltest.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/extensions/source/update/check/updateprotocoltest.cxx b/extensions/source/update/check/updateprotocoltest.cxx
index e88367cc44f8..fa82e9e742e9 100644
--- a/extensions/source/update/check/updateprotocoltest.cxx
+++ b/extensions/source/update/check/updateprotocoltest.cxx
@@ -26,6 +26,7 @@
#include <sal/main.h>
#include <osl/process.h>
#include <stdio.h>
+#include "sal/log.hxx"
namespace task = ::com::sun::star::task;
namespace uno = ::com::sun::star::uno;
@@ -58,18 +59,16 @@ SAL_IMPLEMENT_MAIN()
{
if( checkForUpdates(rComponentContext, uno::Reference< task::XInteractionHandler > (), aURL, aVersion) )
{
- OSL_TRACE( "Update found: %s on %s",
- rtl::OUStringToOString( aVersion, RTL_TEXTENCODING_UTF8).getStr(),
- rtl::OUStringToOString( aURL, RTL_TEXTENCODING_UTF8).getStr());
+ SAL_INFO("extensions.update", "Update found: " << aVersion << " on " << aURL);
}
else
{
- OSL_TRACE( "no updates found" );
+ SAL_INFO("extensions.update", "no updates found" );
}
}
catch( ... )
{
- OSL_TRACE( "unhandled exception caught" );
+ SAL_INFO("extensions.update", "unhandled exception caught" );
}
return 0;