summaryrefslogtreecommitdiff
path: root/cui/source/dialogs
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-12 16:31:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-13 06:12:00 +0000
commitc3586b684c58e06cd80dea87d7681354acfec80b (patch)
tree09e1b3caab55f1c9ecd4c2559250b42892fd5ee7 /cui/source/dialogs
parenta005fbeddc4e615cfff56a9bd84355f8d42c1c8c (diff)
OSL_TRACE->SAL in chart2..oox
Change-Id: I133a6441824bfbefcfcda130119b5c5d706f86b2 Reviewed-on: https://gerrit.libreoffice.org/31907 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r--cui/source/dialogs/scriptdlg.cxx19
1 files changed, 5 insertions, 14 deletions
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx
index 855a5be1b615..84f3a3d68c2d 100644
--- a/cui/source/dialogs/scriptdlg.cxx
+++ b/cui/source/dialogs/scriptdlg.cxx
@@ -182,9 +182,7 @@ void SFTreeListBox::Init( const OUString& language )
}
catch( Exception& e )
{
- OSL_TRACE("Exception getting root browse node from factory: %s",
- OUStringToOString(
- e.Message , RTL_TEXTENCODING_ASCII_US ).pData->buffer );
+ SAL_WARN("cui.dialogs", "Exception getting root browse node from factory: " << e.Message );
// TODO exception handling
}
@@ -762,8 +760,7 @@ IMPL_LINK( SvxScriptOrgDialog, ButtonHdl, Button *, pButton, void )
}
catch( Exception& e )
{
- OSL_TRACE("Caught exception trying to invoke %s", OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US ).pData->buffer );
-
+ SAL_WARN("cui.dialogs", "Caught exception trying to invoke " << e.Message );
}
}
}
@@ -940,9 +937,7 @@ void SvxScriptOrgDialog::createEntry( SvTreeListEntry* pEntry )
}
catch( Exception& e )
{
- OSL_TRACE("Caught exception trying to Create %s",
- OUStringToOString(
- e.Message, RTL_TEXTENCODING_ASCII_US ).pData->buffer );
+ SAL_WARN("cui.dialogs", "Caught exception trying to Create " << e.Message );
}
}
if ( aChildNode.is() )
@@ -1044,9 +1039,7 @@ void SvxScriptOrgDialog::renameEntry( SvTreeListEntry* pEntry )
}
catch( Exception& e )
{
- OSL_TRACE("Caught exception trying to Rename %s",
- OUStringToOString(
- e.Message, RTL_TEXTENCODING_ASCII_US ).pData->buffer );
+ SAL_WARN("cui.dialogs", "Caught exception trying to Rename " << e.Message );
}
}
if ( aChildNode.is() )
@@ -1092,9 +1085,7 @@ void SvxScriptOrgDialog::deleteEntry( SvTreeListEntry* pEntry )
}
catch( Exception& e )
{
- OSL_TRACE("Caught exception trying to delete %s",
- OUStringToOString(
- e.Message, RTL_TEXTENCODING_ASCII_US ).pData->buffer );
+ SAL_WARN("cui.dialogs", "Caught exception trying to delete " << e.Message );
}
}