summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/bootstrap.cxx2
-rw-r--r--cppuhelper/source/component_context.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/cppuhelper/source/bootstrap.cxx b/cppuhelper/source/bootstrap.cxx
index 6c90e5516c13..ae2a9f00ba56 100644
--- a/cppuhelper/source/bootstrap.cxx
+++ b/cppuhelper/source/bootstrap.cxx
@@ -178,7 +178,7 @@ Reference< XComponentContext > SAL_CALL bootstrap()
case osl_Process_E_NotFound:
throw BootstrapException( "image not found!" );
case osl_Process_E_TimedOut:
- throw BootstrapException( "timout occurred!" );
+ throw BootstrapException( "timeout occurred!" );
case osl_Process_E_NoPermission:
throw BootstrapException( "permission denied!" );
case osl_Process_E_Unknown:
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index 15bcc6f08c47..85f0316daf32 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -573,7 +573,7 @@ Any ComponentContext::lookupMap( OUString const & rName )
#if OSL_DEBUG_LEVEL > 0
::fprintf(
stderr,
- "### omitting context for service instanciation!\n" );
+ "### omitting context for service instantiation!\n" );
#endif
xInstance = args.getLength()
? xFac2->createInstanceWithArguments( args )
@@ -594,11 +594,11 @@ Any ComponentContext::lookupMap( OUString const & rName )
}
}
}
- catch (RuntimeException &)
+ catch (const RuntimeException &)
{
throw;
}
- catch (Exception & exc)
+ catch (const Exception & exc)
{
SAL_WARN(
"cppuhelper",