diff options
Diffstat (limited to 'svx/source/sidebar/paragraph')
-rw-r--r-- | svx/source/sidebar/paragraph/ParaPropertyPanel.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx index 080558a55485..e74ad60b53ad 100644 --- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx +++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx @@ -68,14 +68,11 @@ VclPtr<vcl::Window> ParaPropertyPanel::Create ( if (pBindings == NULL) throw lang::IllegalArgumentException("no SfxBindings given to ParaPropertyPanel::Create", NULL, 2); - return VclPtr<vcl::Window>( - VclPtr<ParaPropertyPanel>::Create( - + return VclPtr<ParaPropertyPanel>::Create( pParent, rxFrame, pBindings, - rxSidebar), - SAL_NO_ACQUIRE); + rxSidebar); } void ParaPropertyPanel::HandleContextChange ( |