summaryrefslogtreecommitdiff
path: root/canvas/source/factory/cf_service.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/factory/cf_service.cxx')
-rw-r--r--canvas/source/factory/cf_service.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/factory/cf_service.cxx b/canvas/source/factory/cf_service.cxx
index c79927e3596e..8127bfd4ff7e 100644
--- a/canvas/source/factory/cf_service.cxx
+++ b/canvas/source/factory/cf_service.cxx
@@ -203,11 +203,11 @@ CanvasFactory::CanvasFactory( Reference<XComponentContext> const & xContext ) :
++pCurr;
}
}
- catch (RuntimeException &)
+ catch (const RuntimeException &)
{
throw;
}
- catch (Exception&)
+ catch (const Exception&)
{
}
@@ -290,11 +290,11 @@ Reference<XInterface> CanvasFactory::use(
return m_xContext->getServiceManager()->createInstanceWithArgumentsAndContext(
serviceName, args, xContext);
}
- catch (RuntimeException &)
+ catch (const RuntimeException &)
{
throw;
}
- catch (Exception &)
+ catch (const Exception &)
{
return Reference<XInterface>();
}