diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-19 14:28:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-19 15:13:37 +0000 |
commit | ef306355851e9b6591e9f3fb9476d5bbd548d9ba (patch) | |
tree | 71622ca7780ed151f7c4eb911a0fc1c0b7ad4435 | |
parent | 5a5cd0ac64c9a56f6d680a2aec2821c8d888f688 (diff) |
these used to OSL_TRACE, quiten them to SAL_INFO
Change-Id: Iec429b986a55a847baceb2e84752a380c6db831a
-rw-r--r-- | cppuhelper/source/tdmgr.cxx | 10 | ||||
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 2 |
2 files changed, 5 insertions, 7 deletions
diff --git a/cppuhelper/source/tdmgr.cxx b/cppuhelper/source/tdmgr.cxx index d78260cb4a2c..38c53759b3ed 100644 --- a/cppuhelper/source/tdmgr.cxx +++ b/cppuhelper/source/tdmgr.cxx @@ -589,15 +589,13 @@ static void SAL_CALL typelib_callback( *ppRet = createCTD( access, xTD ); } } - catch (container::NoSuchElementException & exc) + catch (const container::NoSuchElementException & exc) { - (void) exc; // avoid warning about unused variable - SAL_WARN("cppuhelper", "typelibrary type not available: " << exc.Message ); + SAL_INFO("cppuhelper", "typelibrary type not available: " << exc.Message ); } - catch (Exception & exc) + catch (const Exception & exc) { - (void) exc; // avoid warning about unused variable - SAL_WARN("cppuhelper", exc.Message ); + SAL_INFO("cppuhelper", exc.Message ); } } } diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index b56fa9cb6168..91625cc825a1 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -560,7 +560,7 @@ void SfxDispatcher::Pop(SfxShell& rShell, SfxDispatcherPopFlags nMode) xImp->aToDoStack.push_front( SfxToDo_Impl(bPush, bDelete, bUntil, rShell) ); if (xImp->bFlushed) { - SAL_WARN("sfx.control", "Unflushed dispatcher!"); + SAL_INFO("sfx.control", "Unflushed dispatcher!"); xImp->bFlushed = false; xImp->bUpdated = false; |