summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/iframe.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-21 23:27:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-12-22 09:07:47 +0000
commitbe4db0569c947179b0facf367862213748982361 (patch)
tree11a36f5643e4e597b21f7e15d447ae9470cffbb7 /sfx2/source/doc/iframe.cxx
parent7a6efedd9eb4dea9abc9d1fd1f6362092ce01f78 (diff)
catch by const ref
Diffstat (limited to 'sfx2/source/doc/iframe.cxx')
-rw-r--r--sfx2/source/doc/iframe.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx
index f9817478da1e..d9c169e49a54 100644
--- a/sfx2/source/doc/iframe.cxx
+++ b/sfx2/source/doc/iframe.cxx
@@ -182,8 +182,9 @@ void SAL_CALL IFrameObject::cancel() throw( com::sun::star::uno::RuntimeExceptio
xClose->close( sal_True );
mxFrame = 0;
}
- catch ( uno::Exception& )
- {}
+ catch (const uno::Exception&)
+ {
+ }
}
void SAL_CALL IFrameObject::close( sal_Bool /*bDeliverOwnership*/ ) throw( com::sun::star::util::CloseVetoException, com::sun::star::uno::RuntimeException )