diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-12 16:31:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-13 06:12:00 +0000 |
commit | c3586b684c58e06cd80dea87d7681354acfec80b (patch) | |
tree | 09e1b3caab55f1c9ecd4c2559250b42892fd5ee7 /cppuhelper/source | |
parent | a005fbeddc4e615cfff56a9bd84355f8d42c1c8c (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 'cppuhelper/source')
-rw-r--r-- | cppuhelper/source/component.cxx | 2 | ||||
-rw-r--r-- | cppuhelper/source/tdmgr.cxx | 10 |
2 files changed, 3 insertions, 9 deletions
diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx index eab7ec571b20..17f799fc3c8c 100644 --- a/cppuhelper/source/component.cxx +++ b/cppuhelper/source/component.cxx @@ -204,7 +204,7 @@ void OComponentHelper::dispose() // in a multithreaded environment, it can't be avoided // that dispose is called twice. // However this condition is traced, because it MAY indicate an error. - OSL_TRACE( "OComponentHelper::dispose() - dispose called twice" ); + SAL_WARN("cppuhelper", "OComponentHelper::dispose() - dispose called twice" ); } } diff --git a/cppuhelper/source/tdmgr.cxx b/cppuhelper/source/tdmgr.cxx index 5b8ad45234df..d78260cb4a2c 100644 --- a/cppuhelper/source/tdmgr.cxx +++ b/cppuhelper/source/tdmgr.cxx @@ -592,18 +592,12 @@ static void SAL_CALL typelib_callback( catch (container::NoSuchElementException & exc) { (void) exc; // avoid warning about unused variable - OSL_TRACE( - "typelibrary type not available: %s", - OUStringToOString( - exc.Message, RTL_TEXTENCODING_UTF8 ).getStr() ); + SAL_WARN("cppuhelper", "typelibrary type not available: " << exc.Message ); } catch (Exception & exc) { (void) exc; // avoid warning about unused variable - OSL_TRACE( - "%s", - OUStringToOString( - exc.Message, RTL_TEXTENCODING_UTF8 ).getStr() ); + SAL_WARN("cppuhelper", exc.Message ); } } } |