summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lippka <christian.lippka@oracle.com>2010-10-04 14:39:37 +0200
committerChristian Lippka <christian.lippka@oracle.com>2010-10-04 14:39:37 +0200
commit28b346ce5685616eac3bdcafdf4a94874bbe65e3 (patch)
tree4c7aa79195d1e3db11445337b4d11a67bb0cdc36
parent4ed10b7db0ca48a06652191817dbcd709d21cfc3 (diff)
impress201: #i79978# do not report problems with view area
-rw-r--r--xmloff/source/draw/sdxmlimp.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx
index 9b44f4b19a..fbae1131c3 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 );
+*/
}
}