summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/GraphicObjectBar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/GraphicObjectBar.cxx')
-rw-r--r--sd/source/ui/view/GraphicObjectBar.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/view/GraphicObjectBar.cxx b/sd/source/ui/view/GraphicObjectBar.cxx
index e64eb67edd1b..0324088fb123 100644
--- a/sd/source/ui/view/GraphicObjectBar.cxx
+++ b/sd/source/ui/view/GraphicObjectBar.cxx
@@ -51,10 +51,9 @@ GraphicObjectBar::GraphicObjectBar (
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() );