From 7819d49facfac7e241840ff9ea6932447e92a6f9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 20 Apr 2015 13:44:47 +0200 Subject: sd: convert new to ::Create. Change-Id: I35c03ea4430eb5a5bd4c7cfaed74f741c09cbf18 --- sd/source/ui/view/grviewsh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/source/ui/view/grviewsh.cxx') diff --git a/sd/source/ui/view/grviewsh.cxx b/sd/source/ui/view/grviewsh.cxx index 1f94f01bd8a8..573dad5c6646 100644 --- a/sd/source/ui/view/grviewsh.cxx +++ b/sd/source/ui/view/grviewsh.cxx @@ -52,7 +52,7 @@ void GraphicViewShell::ConstructGraphicViewShell(void) { meShellType = ST_DRAW; - mpLayerTabBar.reset (new LayerTabBar(this, GetParentWindow())); + mpLayerTabBar.reset (VclPtr::Create(this, GetParentWindow())); // #i67363# no layer tabbar in preview mode if ( !GetObjectShell()->IsPreview() ) -- cgit