diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-06 20:42:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-06 23:55:19 +0100 |
commit | 19fddecd3c2858accecce8f88415f1dfd8e4368e (patch) | |
tree | 93ec704388b00ca8e6fc9217af97294e5af82224 | |
parent | 2c9dac6dfd875465a7b16997c5523af5a4953b4e (diff) |
VclPtr: one ref too many
Change-Id: I0a299050d8ae19bdac555e75116c5b85f409a6c2
-rw-r--r-- | sd/source/ui/view/viewshel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx index 7f5aea19e4cf..f5168b5f7b0b 100644 --- a/sd/source/ui/view/viewshel.cxx +++ b/sd/source/ui/view/viewshel.cxx @@ -197,7 +197,7 @@ void ViewShell::construct() mpZoomList = new ZoomList( this ); - mpContentWindow.reset(new ::sd::Window(GetParentWindow())); + mpContentWindow.reset(VclPtr< ::sd::Window >::Create(GetParentWindow())); SetActiveWindow (mpContentWindow.get()); GetParentWindow()->SetBackground (Wallpaper()); |