diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-09 15:48:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-11 18:56:16 +0000 |
commit | 4ef9ccea6c4aa79cdc57dea52b47775c346696ec (patch) | |
tree | ad3b4dd30484436c595990bd8994f94477b9492b /shell | |
parent | 4282ea67c2e90222f141df8213b06dfed09d4c85 (diff) |
OSL_TRACE -> SAL in sfx2..svx
Change-Id: I78cf8058a5682baa3d7b00a25feeb2d28fb3e66e
Reviewed-on: https://gerrit.libreoffice.org/31799
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/desktopbe/desktopbackend.cxx | 5 | ||||
-rw-r--r-- | shell/source/backends/macbe/macbackend.mm | 4 | ||||
-rw-r--r-- | shell/source/cmdmail/cmdmailsuppl.cxx | 3 |
3 files changed, 4 insertions, 8 deletions
diff --git a/shell/source/backends/desktopbe/desktopbackend.cxx b/shell/source/backends/desktopbe/desktopbackend.cxx index db220c3e85df..52c941cb99aa 100644 --- a/shell/source/backends/desktopbe/desktopbackend.cxx +++ b/shell/source/backends/desktopbe/desktopbackend.cxx @@ -312,10 +312,7 @@ css::uno::Reference< css::uno::XInterface > createBackend( throw; } catch (const css::uno::Exception & e) { // Assuming these exceptions indicate that the service is not installed: - OSL_TRACE( - "createInstance(%s) failed with %s", - OUStringToOString(name, RTL_TEXTENCODING_UTF8).getStr(), - OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8).getStr()); + SAL_WARN("shell", "createInstance(" << name << ") failed with " << e.Message); return css::uno::Reference< css::uno::XInterface >(); } } diff --git a/shell/source/backends/macbe/macbackend.mm b/shell/source/backends/macbe/macbackend.mm index 8f4e0883e591..3374c8e6449d 100644 --- a/shell/source/backends/macbe/macbackend.mm +++ b/shell/source/backends/macbe/macbackend.mm @@ -228,12 +228,12 @@ css::uno::Any MacOSXBackend::getPropertyValue( } else { - OSL_TRACE( "user documents list contains empty file path or conversion failed" ); + SAL_WARN("shell", "user documents list contains empty file path or conversion failed" ); } } else { - OSL_TRACE( "Got nil or empty list of user document directories" ); + SAL_WARN("shell", "Got nil or empty list of user document directories" ); } return css::uno::makeAny(css::beans::Optional< css::uno::Any >()); } else if ( PropertyName == "ooInetFTPProxyName" ) diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx index 621da5f290e2..899a47c3c8fe 100644 --- a/shell/source/cmdmail/cmdmailsuppl.cxx +++ b/shell/source/cmdmail/cmdmailsuppl.cxx @@ -204,8 +204,7 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM catch(const RuntimeException &e ) { m_xConfigurationProvider.clear(); - OSL_TRACE( "RuntimeException caught accessing configuration provider." ); - OSL_TRACE( "%s", OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); + SAL_WARN("shell", "RuntimeException caught accessing configuration provider. " << e.Message ); throw; } |