summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/grviewsh.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-20 13:44:47 +0200
committerNoel Grandin <noel@peralex.com>2015-04-20 13:44:47 +0200
commit7819d49facfac7e241840ff9ea6932447e92a6f9 (patch)
tree86288423048bd7bb47cc854c9ad3505636bc1437 /sd/source/ui/view/grviewsh.cxx
parent354df32a6da2557ac9edc0937b0032406bc6ba15 (diff)
sd: convert new to ::Create.
Change-Id: I35c03ea4430eb5a5bd4c7cfaed74f741c09cbf18
Diffstat (limited to 'sd/source/ui/view/grviewsh.cxx')
-rw-r--r--sd/source/ui/view/grviewsh.cxx2
1 files changed, 1 insertions, 1 deletions
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<LayerTabBar>::Create(this, GetParentWindow()));
// #i67363# no layer tabbar in preview mode
if ( !GetObjectShell()->IsPreview() )