diff options
author | Christian Lippka <christian.lippka@oracle.com> | 2010-10-04 14:39:37 +0200 |
---|---|---|
committer | Christian Lippka <christian.lippka@oracle.com> | 2010-10-04 14:39:37 +0200 |
commit | 520e99aea44c82be3d3bdb972276286f3c312124 (patch) | |
tree | 40c43be4890351904792fd9929ee935b306cc851 /xmloff/source/draw | |
parent | 7b97f00130fa4d5d47a2f03b95ae2173e0a053a5 (diff) |
impress201: #i79978# do not report problems with view area
Diffstat (limited to 'xmloff/source/draw')
-rw-r--r-- | xmloff/source/draw/sdxmlimp.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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::Sequence<com::sun:: { xPropSet->setPropertyValue( 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<OUString> aSeq(0); SetError( XMLERROR_FLAG_WARNING | XMLERROR_API, aSeq, e.Message, NULL ); +*/ } } |