summaryrefslogtreecommitdiff
path: root/vbahelper/source/vbahelper/vbashaperange.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vbahelper/source/vbahelper/vbashaperange.cxx')
-rw-r--r--vbahelper/source/vbahelper/vbashaperange.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbashaperange.cxx b/vbahelper/source/vbahelper/vbashaperange.cxx
index 6cb5fdbf621e..e75aff14b0ff 100644
--- a/vbahelper/source/vbahelper/vbashaperange.cxx
+++ b/vbahelper/source/vbahelper/vbashaperange.cxx
@@ -66,7 +66,7 @@ uno::Reference< msforms::XShape > SAL_CALL
ScVbaShapeRange::Group()
{
uno::Reference< drawing::XShapeGrouper > xShapeGrouper( m_xDrawPage, uno::UNO_QUERY_THROW );
- uno::Reference< drawing::XShapeGroup > xShapeGroup( xShapeGrouper->group( getShapes() ), uno::UNO_QUERY_THROW );
+ uno::Reference< drawing::XShapeGroup > xShapeGroup( xShapeGrouper->group( getShapes() ), uno::UNO_SET_THROW );
uno::Reference< drawing::XShape > xShape( xShapeGroup, uno::UNO_QUERY_THROW );
return uno::Reference< msforms::XShape >( new ScVbaShape( getParent(), mxContext, xShape, getShapes(), m_xModel, office::MsoShapeType::msoGroup ) );
}