summaryrefslogtreecommitdiff
path: root/embeddedobj/source/general/xcreator.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-12-09 02:56:30 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-12-09 09:59:02 +0900
commit9262039e908b3ea897180bc723d947d3d7546d4e (patch)
tree0937618fd39b4d73e770664fae96166304df7d68 /embeddedobj/source/general/xcreator.cxx
parente89c99ce5e5474173d354778b531f2dff8eff25e (diff)
catch exception by constant reference
Diffstat (limited to 'embeddedobj/source/general/xcreator.cxx')
-rw-r--r--embeddedobj/source/general/xcreator.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/embeddedobj/source/general/xcreator.cxx b/embeddedobj/source/general/xcreator.cxx
index a4c0a690b5cd..235dd7f343c9 100644
--- a/embeddedobj/source/general/xcreator.cxx
+++ b/embeddedobj/source/general/xcreator.cxx
@@ -161,7 +161,7 @@ uno::Reference< uno::XInterface > SAL_CALL UNOEmbeddedObjectCreator::createInsta
uno::Any aAny = xPropSet->getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "MediaType" ) ));
aAny >>= aMediaType;
}
- catch ( uno::Exception& )
+ catch ( const uno::Exception& )
{
}
@@ -170,7 +170,7 @@ uno::Reference< uno::XInterface > SAL_CALL UNOEmbeddedObjectCreator::createInsta
if ( xComp.is() )
xComp->dispose();
}
- catch ( uno::Exception& )
+ catch ( const uno::Exception& )
{
}
}
@@ -195,7 +195,7 @@ uno::Reference< uno::XInterface > SAL_CALL UNOEmbeddedObjectCreator::createInsta
if ( aMediaType.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "application/vnd.sun.star.oleobject" ) ) ) )
aEmbedFactory = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.embed.OLEEmbeddedObjectFactory" ) );
}
- catch ( uno::Exception& )
+ catch ( const uno::Exception& )
{
}
@@ -204,7 +204,7 @@ uno::Reference< uno::XInterface > SAL_CALL UNOEmbeddedObjectCreator::createInsta
if ( xComp.is() )
xComp->dispose();
}
- catch ( uno::Exception& )
+ catch ( const uno::Exception& )
{
}
}