diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-05-16 09:27:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-05-16 09:36:38 +0200 |
commit | b772e2f064d150edb0ce75d252de6658a04849a8 (patch) | |
tree | 6141208b9469b2a981d1a02a96969fa819ef8bdd /unotools/source/config/historyoptions.cxx | |
parent | d31e409ec1eb3e5ea81ec2a2288a046cf1e395a1 (diff) |
Unwound unhelpful LogHelper::logIt
...where the OSL_FAIL line numbers did not point at the relevant code.
Change-Id: I4d12d63782378cbbc446cdcd77c07676ffc81d78
Diffstat (limited to 'unotools/source/config/historyoptions.cxx')
-rw-r--r-- | unotools/source/config/historyoptions.cxx | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/unotools/source/config/historyoptions.cxx b/unotools/source/config/historyoptions.cxx index 8ee53ccbadd8..e681395c0a8d 100644 --- a/unotools/source/config/historyoptions.cxx +++ b/unotools/source/config/historyoptions.cxx @@ -52,8 +52,6 @@ #include <comphelper/processfactory.hxx> -#include <unotools/loghelper.hxx> - using namespace ::std ; using namespace ::utl ; using namespace ::rtl ; @@ -167,7 +165,7 @@ SvtHistoryOptions_Impl::SvtHistoryOptions_Impl() m_xCfg.clear(); m_xCommonXCU.clear(); - LogHelper::logIt(ex); + SAL_WARN("unotools", "Caught unexpected: " << ex.Message); } } @@ -213,7 +211,7 @@ sal_uInt32 SvtHistoryOptions_Impl::GetSize( EHistoryType eHistory ) } catch(const css::uno::Exception& ex) { - LogHelper::logIt(ex); + SAL_WARN("unotools", "Caught unexpected: " << ex.Message); } return nSize; @@ -273,7 +271,7 @@ void SvtHistoryOptions_Impl::impl_truncateList ( EHistoryType eHistory, sal_uInt } catch(const css::uno::Exception& ex) { - LogHelper::logIt(ex); + SAL_WARN("unotools", "Caught unexpected: " << ex.Message); } } @@ -333,7 +331,7 @@ void SvtHistoryOptions_Impl::Clear( EHistoryType eHistory ) } catch(const css::uno::Exception& ex) { - LogHelper::logIt(ex); + SAL_WARN("unotools", "Caught unexpected: " << ex.Message); } } @@ -418,7 +416,7 @@ Sequence< Sequence< PropertyValue > > SvtHistoryOptions_Impl::GetList( EHistoryT // ignore such corrupted individual items here, so that at // least newly added items are successfully reported back // from this function: - LogHelper::logIt(ex); + SAL_WARN("unotools", "Caught unexpected: " << ex.Message); } } assert(nCount <= nLength); @@ -428,7 +426,7 @@ Sequence< Sequence< PropertyValue > > SvtHistoryOptions_Impl::GetList( EHistoryT } catch(const css::uno::Exception& ex) { - LogHelper::logIt(ex); + SAL_WARN("unotools", "Caught unexpected: " << ex.Message); } return seqReturn; @@ -569,7 +567,7 @@ void SvtHistoryOptions_Impl::AppendItem( EHistoryType eHistory , } catch(const css::uno::Exception& ex) { - LogHelper::logIt(ex); + SAL_WARN("unotools", "Caught unexpected: " << ex.Message); } } |