summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unopage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/unodraw/unopage.cxx')
-rw-r--r--svx/source/unodraw/unopage.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index 5f326ceaaf72..fd718b69098c 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -481,8 +481,7 @@ void SAL_CALL SvxDrawPage::ungroup( const Reference< drawing::XShapeGroup >& aGr
SdrPageView* pPageView = mpView->ShowSdrPage( mpPage );
- Reference< drawing::XShape > xShape( aGroup, UNO_QUERY );
- SelectObjectInView( xShape, pPageView );
+ SelectObjectInView( aGroup, pPageView );
mpView->UnGroupMarked();
mpView->HideSdrPage();