diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-18 00:47:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 11:08:37 +0100 |
commit | 86e420075cfc47c21a8c755e10507f018c3ce925 (patch) | |
tree | 6a0aaf666c9195581f6a8f99fc36060f5b017a4e /toolkit/source | |
parent | 7956c175a6324393e9dc861a8e21608cd7956594 (diff) |
handle truncated stream
Diffstat (limited to 'toolkit/source')
-rw-r--r-- | toolkit/source/layout/core/root.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/layout/core/root.cxx b/toolkit/source/layout/core/root.cxx index 6a3ebe85e836..f83f42a94cec 100644 --- a/toolkit/source/layout/core/root.cxx +++ b/toolkit/source/layout/core/root.cxx @@ -71,7 +71,7 @@ LayoutRoot::~LayoutRoot() m_refCount++; // inhibit multiple destruction dispose(); } - catch( uno::Exception& ) + catch (const uno::Exception&) { } } @@ -186,7 +186,7 @@ void SAL_CALL LayoutRoot::initialize( const uno::Sequence< uno::Any >& aArgument { xParser->parseStream( source ); } - catch ( xml::sax::SAXParseException& e ) + catch (const xml::sax::SAXParseException& e) { OUString c(RTL_CONSTASCII_USTRINGPARAM(":")); error( aXMLName @@ -361,7 +361,7 @@ bool LayoutWidget::addChild( LayoutWidget *pChild ) { mxContainer->addChild( pChild->mxWidget ); } - catch( awt::MaxChildrenException ex ) + catch (const awt::MaxChildrenException&) { return false; } |