summaryrefslogtreecommitdiff
path: root/cppuhelper/source/tdmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/tdmgr.cxx')
-rw-r--r--cppuhelper/source/tdmgr.cxx10
1 files changed, 4 insertions, 6 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 );
}
}
}