diff options
-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; |