diff options
Diffstat (limited to 'unodevtools')
-rw-r--r-- | unodevtools/source/skeletonmaker/cppcompskeleton.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx index d7e484e49ff6..648efa6c667e 100644 --- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx +++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx @@ -1087,7 +1087,7 @@ void generateSkeleton(ProgramOptions const & options, delete pofs; OSL_VERIFY(makeValidTypeFile(compFileName, tmpFileName, sal_False)); } - } catch(CannotDumpException& e) { + } catch(const CannotDumpException& e) { std::cerr << "ERROR: " << e.m_message.getStr() << "\n"; if ( !standardout ) { @@ -1251,7 +1251,7 @@ void generateCalcAddin(ProgramOptions const & options, delete pofs; OSL_VERIFY(makeValidTypeFile(compFileName, tmpFileName, sal_False)); } - } catch(CannotDumpException& e) { + } catch(const CannotDumpException& e) { std::cerr << "ERROR: " << e.m_message.getStr() << "\n"; if ( !standardout ) { |