From 520e99aea44c82be3d3bdb972276286f3c312124 Mon Sep 17 00:00:00 2001 From: Christian Lippka Date: Mon, 4 Oct 2010 14:39:37 +0200 Subject: impress201: #i79978# do not report problems with view area --- xmloff/source/draw/sdxmlimp.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xmloff') diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx index 76942cf817db..1290d545c6b3 100644 --- a/xmloff/source/draw/sdxmlimp.cxx +++ b/xmloff/source/draw/sdxmlimp.cxx @@ -915,10 +915,12 @@ void SdXMLImport::SetViewSettings(const com::sun::star::uno::SequencesetPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "VisibleArea" ) ), uno::makeAny( aVisArea ) ); } - catch( com::sun::star::uno::Exception e ) + catch( com::sun::star::uno::Exception /*e*/ ) { +/* #i79978# since old documents may contain invalid view settings, this is nothing to worry the user about. uno::Sequence aSeq(0); SetError( XMLERROR_FLAG_WARNING | XMLERROR_API, aSeq, e.Message, NULL ); +*/ } } -- cgit