diff options
Diffstat (limited to 'sd/source/ui/view/MediaObjectBar.cxx')
-rw-r--r-- | sd/source/ui/view/MediaObjectBar.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/view/MediaObjectBar.cxx b/sd/source/ui/view/MediaObjectBar.cxx index e891dc7cf662..7d7549885656 100644 --- a/sd/source/ui/view/MediaObjectBar.cxx +++ b/sd/source/ui/view/MediaObjectBar.cxx @@ -50,10 +50,9 @@ void MediaObjectBar::InitInterface_Impl() MediaObjectBar::MediaObjectBar( ViewShell* pSdViewShell, ::sd::View* pSdView ) : SfxShell( pSdViewShell->GetViewShell() ), - mpView( pSdView ), - mpViewSh( pSdViewShell ) + mpView( pSdView ) { - DrawDocShell* pDocShell = mpViewSh->GetDocSh(); + DrawDocShell* pDocShell = pSdViewShell->GetDocSh(); SetPool( &pDocShell->GetPool() ); SetUndoManager( pDocShell->GetUndoManager() ); |