diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-04 17:56:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-04 17:56:11 +0200 |
commit | 31da8163ef96ed8a3bb97c52da94682e474dda55 (patch) | |
tree | 500fd9ca2b9f0b23542e613be3b95e2b0e14bda3 | |
parent | fdo#46808, Adapt drawing::ShapeCollection UNO service to new style (diff) | |
download | core-31da8163ef96ed8a3bb97c52da94682e474dda55.tar.gz core-31da8163ef96ed8a3bb97c52da94682e474dda55.zip |
Some clean up of previous commit
Change-Id: I75a4b2be2fbaf47a2ddb3498dd4e46b1169d47cc
-rw-r--r-- | extensions/source/dbpilots/optiongrouplayouter.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/vba/vbaselection.cxx | 2 | ||||
-rw-r--r-- | 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 ) ); |