From 31da8163ef96ed8a3bb97c52da94682e474dda55 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 4 Sep 2012 17:56:11 +0200 Subject: Some clean up of previous commit Change-Id: I75a4b2be2fbaf47a2ddb3498dd4e46b1169d47cc --- extensions/source/dbpilots/optiongrouplayouter.cxx | 2 +- sw/source/ui/vba/vbaselection.cxx | 2 +- vbahelper/source/vbahelper/vbashaperange.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/source/dbpilots/optiongrouplayouter.cxx b/extensions/source/dbpilots/optiongrouplayouter.cxx index f5b73a8a8457..3ddc3b5f6ae8 100644 --- a/extensions/source/dbpilots/optiongrouplayouter.cxx +++ b/extensions/source/dbpilots/optiongrouplayouter.cxx @@ -104,7 +104,7 @@ namespace dbp implAnchorShape(Reference< XPropertySet >(_rContext.xObjectShape, UNO_QUERY)); // shape collection (for grouping the shapes) - Reference< XShapes > xButtonCollection( ShapeCollection::create(mxContext), UNO_QUERY_THROW ); + Reference< XShapes > xButtonCollection( ShapeCollection::create(mxContext) ); // first member : the shape of the control xButtonCollection->add(_rContext.xObjectShape.get()); diff --git a/sw/source/ui/vba/vbaselection.cxx b/sw/source/ui/vba/vbaselection.cxx index 641668166bfd..491a8a6a191f 100644 --- a/sw/source/ui/vba/vbaselection.cxx +++ b/sw/source/ui/vba/vbaselection.cxx @@ -869,7 +869,7 @@ SwVbaSelection::ShapeRange( ) throw (uno::RuntimeException) if ( !xShapes.is() ) { uno::Reference< drawing::XShape > xShape( mxModel->getCurrentSelection(), uno::UNO_QUERY_THROW ); - xShapes.set( drawing::ShapeCollection::create(mxContext), uno::UNO_QUERY_THROW ); + xShapes.set( drawing::ShapeCollection::create(mxContext) ); xShapes->add( xShape ); } diff --git a/vbahelper/source/vbahelper/vbashaperange.cxx b/vbahelper/source/vbahelper/vbashaperange.cxx index 87168bbcead7..128b3232acab 100644 --- a/vbahelper/source/vbahelper/vbashaperange.cxx +++ b/vbahelper/source/vbahelper/vbashaperange.cxx @@ -74,7 +74,7 @@ ScVbaShapeRange::getShapes() throw (uno::RuntimeException) { if ( !m_xShapes.is() ) { - m_xShapes.set( drawing::ShapeCollection::create(mxContext), uno::UNO_QUERY_THROW ); + m_xShapes.set( drawing::ShapeCollection::create(mxContext) ); sal_Int32 nLen = m_xIndexAccess->getCount(); for ( sal_Int32 index = 0; index < nLen; ++index ) m_xShapes->add( uno::Reference< drawing::XShape >( m_xIndexAccess->getByIndex( index ), uno::UNO_QUERY_THROW ) ); -- cgit